So I finished almost all your courses (ES6 / JS30 / React / Redux / Node and Flexbox too) and there is something I wonder : how do I mix all of them together? Especially NodeJS with React and Redux.
I am a bit confused because you used only Pug files in your NodeJS course, so let me ask you a few questions.
If we take your dang-thats-delicious app as a reference app to discuss on real example:
Should we use React for the static parts of the app, such as the navbar? Or, more open question: what parts of the app should and what other parts shouldn't be coded with React?
I feel like React's state or Redux's store are some kind of databases which stay in front-end and should as little as possible have interfaces with a real database, because it's also what makes React so fast, is it? Is it the (one of the) main concept we need to understand from React?
So would it be a good practice to load all the stores at the beginning from a Mongo DB to a Redux store, and to leave to React / Redux the role of a big "controller", to switch from tags, hearts, topped or single store views very quickly, post a comment as quickly, and find a way to feed the db with updated data asynchronously hidden from the user? In order to communicate directly with the db only for creating and updating stores, or register a user?
To turn all this into one question : if you had to rebuild dang-thats-delicious with React and NodeJS, what would be the strategy?
Hi Wes,
So I finished almost all your courses (ES6 / JS30 / React / Redux / Node and Flexbox too) and there is something I wonder : how do I mix all of them together? Especially NodeJS with React and Redux. I am a bit confused because you used only Pug files in your NodeJS course, so let me ask you a few questions.
If we take your dang-thats-delicious app as a reference app to discuss on real example:
To turn all this into one question : if you had to rebuild dang-thats-delicious with React and NodeJS, what would be the strategy?