absent-sapphire
absent-sapphire2mo ago

Expo Router integration

Is there Expo Router integration?
2 Replies
kapa.ai
kapa.ai2mo ago
Hi @Jonathan. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, Refine does support integration with Expo Router for React Native applications. This integration allows you to leverage Refine's routing features within your Expo projects. To integrate Expo Router with Refine, you can use the community package @refinenative/expo-router. Here is an example of how to set it up:
import { Refine } from "@refinedev/core";
import routerProvider from "@refinenative/expo-router";

export const App = () => (
<Refine
routerProvider={routerProvider}
>
{/* ... */}
</Refine>
);
import { Refine } from "@refinedev/core";
import routerProvider from "@refinenative/expo-router";

export const App = () => (
<Refine
routerProvider={routerProvider}
>
{/* ... */}
</Refine>
);
You can find more information and the package details on the npm page for @refinenative/expo-router (https://www.npmjs.com/package/@refinenative/expo-router). For further details, you can refer to the Router Integrations documentation (https://refine.dev/docs/guides-concepts/routing/#router-integrations) and the Router Provider documentation (https://refine.dev/docs/routing/router-provider/). Additionally, the Refine Native project (https://dev.to/abdellah711/refine-native-2p1d) provides more insights into using Refine with React Native, including the @refinenative/expo-router package. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@697199226802929705> kapa.ai is still learning and improving, please let us know how it did by reacting below