-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix(paths): use directory-relative paths #29
fix(paths): use directory-relative paths #29
Conversation
If this template is used to init a project, then the app directory itself is moved, the components inside app lose their ability to resolve and lint:types no longer works If I use directory-relative paths, everything appears fine
While I really liked the absolute modules, I always found them problematic for mobile+web with React Native. :( So removing them for good sounds like a good idea. Thank you, Mike! |
I actually have a small follow on question - what are all the package.json files in the sub-directories for? those don't seem necessary or useful? and the I'm iterating on this really rapidly now for both the react-native-firebase auth example template and 3 different work projects (all using this one) so this is a period of rapid polishing/cleaning as they all go through their initial phases of development - once the basic scaffolding is up and clean in all of them I'll be really quiet probably :) |
Feel free to use them however you want or remove them (from Luna as well). Here's why and how I used them:
That's useful for
Yeah, I'm already on one of my vacations 🥳 That's why I'm a bit quiet, but I'm definitely keeping an eye on Github when I can. I'm very happy that we're helping each other and I'm really wishing you Happy Holidays in case we don't keep in touch. 🍾 |
Happy vacation time :-) - and thanks for posting that up, I had no idea what that stuff was but now I have plenty more to learn ;-). Cheers! |
If this template is used to init a project, then the app directory itself
is moved, the components inside app lose their ability to resolve and lint:types
no longer works
If I use directory-relative paths, everything appears fine
Related: invertase/react-native-firebase-authentication-example#3
This was the only change I needed in this template when layering that one on top