-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(web+template): convert from fixed app to template, make it work on web #3
Conversation
this is the scaffolding on which the rest of the auth template will be sliced in
Huge kudos to @criszz77 for his work on the Luna template, this template is built by (mostly) programmatically slicing react-native-firebase on top of it. There are a few things that are statically configured still (adding google plist file to pbxproj, adding FB example ids to android+ios config files) but otherwise this is just a scripted build on top of that template |
and react-native-firebase-authentication-example/template/craco.config.js Lines 102 to 112 in 5d6a46c
are the magic |
previously this used defaultValue in combination with onChangeText which is a violation of style with regard to controlled components vs uncontrolled components
npx react-native init ProjectName --template invertase/react-native-firebase-authentication-example cd ProjectName yarn jest yarn eslint yarn prettier yarn android yarn ios yarn web
examine your android emulator, your ios simulator, and check http://localhost:3000
...everything should work
@Salakar 😎 😆