Replies: 1 comment 1 reply
-
Good question! When you make an import say... to "app/utils/clerk", if you're on web, react-native-web will automatically figure out if there's a .web file and use that instead. So while we don't see a direct import, the web app is using the web auth! ie. Expo client for clerk does not work cross platform! And the reason why we have a direct import to trpc.web in the example you pointed out is because we are on the nextjs side of things. Without it, I'd imagine it should still work? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello! great repo thank you for making :)
have a small question about the files here
where does the
*.web.ts
come into play? I noticed you haveclerk
/clerk.web
,auth
/auth.web
,trpc
/trpc.web
, but the only place you actually use this distinction explicitly is fortrpc.web
here. areclerk.web
andauth.web
ever necessary? or does clerks expo client work cross platform?Beta Was this translation helpful? Give feedback.
All reactions