r/reactjs • u/swyx • Jul 01 '18
Help Beginner's Thread / Easy Question (July 2018)
Hello! just helping out /u/acemarke to post a beginner's thread for July! we had almost 550 Q's and A's in last month's thread! That's 100% month on month growth! we should raise venture capital! /s
Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple. You are guaranteed a response here!
New to React? Free, quality resources here
Read the new, official Getting Started page on the docs
/u/acemarke's suggested resources for learning React and his React/Redux links list.
Want Help on Code?
Improve your chances of getting helped by putting a minimal example on to either JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new). Describe what you want it to do, and things you've tried. Don't just post big blocks of code.
If you got helped, pay it forward! Answer questions even if there is already an answer - multiple perspectives can be very helpful to beginners. Also there's no quicker way to learn than being wrong on the Internet.
1
u/lvsanche Jul 27 '18
The way I currently have my app set up, makes it so when authentication completes, I load all the data that has to do with the user into local storage. So far there isn't that much data but I can see how that could change. At what point do I move on to loading data when a component will get mounted as opposed to what I currently do? And further down the line at what point will I need to process the data before it gets loaded to my web app.
I'm guessing Node.js could help with a real api and not just CRUD firebase calls that I currently do. I currently use the local storage to keep data fetched and then I process it.