Skip to content
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

Move react native source files in /src folder & aliased import #28

Open
floridemai opened this issue Aug 6, 2020 · 2 comments
Open

Comments

@floridemai
Copy link

floridemai commented Aug 6, 2020

Currently all application folders are relative to the root folder, which is not ideal (probably).
We should try and follow best practices and put all react native source files in /src folder and we'll end up with a nice structure for app, android, ios and config files.
While working on this maybe we should replaced relative imports with aliased one helping us with future refactors.e.g. ../../atoms => components/atoms

@jasnell
Copy link
Contributor

jasnell commented Aug 6, 2020

@floridemai ... could I trouble you to add a bit more context here so others less familiar can understand a bit more.

@floridemai
Copy link
Author

@floridemai ... could I trouble you to add a bit more context here so others less familiar can understand a bit more.

Sorry about that @jasnell . Had it as a placeholder and didn't update the comment in time. I did changed that now so we have a bit ofcontext

@jh3y jh3y mentioned this issue Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants