Content
@
0 reply
0 recast
2 reactions
Zach
@zachterrell
for those of you using expo router, do you put your auth / splash screen logic in the root _layout.ts or in the root index.ts? expo docs aren't super clear, i'm sure both work but wondering what the best practice is
4 replies
0 recast
6 reactions
Zach
@zachterrell
actually i was wrong the docs are pretty clear here: https://docs.expo.dev/router/reference/authentication/
1 reply
0 recast
4 reactions
Pain🖤🌹
@painn.eth
The general way is inside the root _layout.ts
0 reply
0 recast
1 reaction
Korede
@korede
I find that setting up auth flows in Expo Router is too cumbersome. For some reason, file system based routing works well for web apps, not in my experience, not so well in RN
0 reply
0 recast
0 reaction
Seb
@sebastian2.eth
Root_layout.ts common
0 reply
0 recast
0 reaction