r/reactnative • • Oct 31 '19

Just published my first React Native project, Filmless. Would love some feedback!

329 Upvotes

93 comments sorted by

View all comments

1

u/theketan2 Oct 31 '19

This is beautiful!
You look like a pro at React Native.
Would you be kind enough to share the learning resources if any that you used to get this good at RN?

3

u/Guy676767 Oct 31 '19

Thanks for the kind words!

I already had experience with react from working on web apps, (which I learned from andrew mead react course on udemy).

Honestly other than that, everything related to react native specifically I learned while building this project, through the official docs and just googling stuff I didn’t know how to do.

I also found it very helpful to read through React Navigation docs (that’s the navigation stack I used), it helped me with some concepts and problems that were unfamiliar to me coming from the web world.

2

u/Tsupaero Oct 31 '19

hey,

i'm avidly learning RN right now. thanks a lot for sharing the project's source on github! would you consider your project close to good practice? i'm currently a little in-and-out when it comes to project setups and yours looks - at first glance - quite structured. however i do not have enough practice under my belt to really tell, thus my question :)

thanks a lot in advance!

3

u/Guy676767 Oct 31 '19

I do consider good structure as very important. I had some previous projects in which I just wanted to code the product and didn’t really care that much about the code base broader scope structure.

This turned out to bite me in the ass of course because who wants to come back to a messy project after a while you haven’t touched it?

My projects turned into a pandora box that I just don’t want to open.

On this project I decided to prioritize writing clean, modular code that I can revisit years from now and still understand.

Some decisions I made before starting out:

  • only using hooks for stateful components

  • abstract away when possible

  • writing code as modular as I can

  • refactoring after every feature

I’m in no way an authority on best practices, but I can tell you for sure that this was the best and most pleasant project I worked on exactly because of the decisions I listed above.

2

u/Tsupaero Oct 31 '19

thanks a lot for your reply! pretty much what i expected and wanted to hear :)