Nothing here yet.
Nothing here yet.
No blogs yet.
Everyone in this thread brings up great points. Only thing I would add is if you are just now learning React start with the tutorial on their site and when you are searching for answers to problems and see people using ES6, ignore it. Just focus on what React is doing and understanding how React actually works. Learning the fundamentals of React is very important and requires 100% of your attention. If you try and learn both at once this will probably slow you down from learning React and also introduces things like Babel and Webpack. Take it one step at a time. Learn React. Thats my two cents.
Hi Nate! TLDR localStorage is simple and will probably solve your problem OR you can learn more about Redux and integrate that into your app So I think you can go about this in a couple different ways. One way is to just use localStorage to storage user information. This is simple and doesn't require you to change much in terms of the architecture of your application. Another way is by either using Flux or Redux. I prefer to use Redux for my React applications. If you plan on getting more into React and building more applications using React then you will keep running into Flux or Redux. Its important to note that Redux is an implementation of Flux and that Flux is an architecture that Facebook recommends when working with React or even just web applications in general. More Info Flux Redux