There are many ways to structure Redux code, so which one should we go with?
Before we jump into answering that question, let’s come up with an imaginary application that we’ll use to explore different code structures.
Imagine a note-taking application that has four functions:
What are the parts of our Redux application? The smallest parts are actions, reducers and side effects. Let’s call these parts units.
Units in our application:- login actions, reducer, side effects- add note actions, reducer, side effects- notes…
Passionate about frontend ✌️