Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/CUAPublic template

question about *.web extensions#42

sgrund14 started this conversation inGeneral
Feb 24, 2023· 1 comments· 1 reply
Discussion options

hello! great repo thank you for making :)

have a small question about the fileshere

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.webhere. areclerk.web andauth.web ever necessary? or does clerks expo client work cross platform?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

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 appis 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 itshould still work?

You must be logged in to vote
1 reply
@sgrund14
Comment options

ah, I see! thank you kindly 🙏 💯

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@sgrund14@chen-rn

[8]ページ先頭

©2009-2025 Movatter.jp