I'm using the new Expo-Router version that uses a file based navigation I used React's context API + useReducer hook to create a universal language context in the app The problem is I have no idea where to wrap the context provider, there is no root component as I can see
my project structure:
app
Dashboard.tsx
index.tsx
Login.tsx
Profile.tsx
assets
components
Button.tsx
Drawer.tsx
DrawerItem.tsx
HR.tsx
TextField.tsx
forms
LoginForm.tsx
ts
declarations.d.ts
.gitignore
app.json
babel.config.js
index.ts
metro.config.js
package.json
tsconfig.json
yarn.lock
index.ts
import "expo-router/entry"
Found this discussionon Github around the same problem, I have no _layout file though