Redux with React
Thread TagsAdobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css designed Design layout digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training logo Design logo designing mobile phones Photoshop QA react-native Scroll Website SEO Single Page Website Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Viewport Web Designing web pages Website Design
Log in with your username and password
Register for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
- Author Replies
- January 7, 2019 at 11:49 am #51536
Single source of truth:
The state of the whole application is stored in an object/ state tree within a single store. The single state tree performs it easier to keep track of changes over time and debug or inspect the application.
The state is read-only:
The only way to change the state is to trigger an action. An action is a common JS object defining the change. Just like a state is the minimal representation of data, the action is the minimal representation of the change to that data.
Changes are made with pure functions:
In order to specify how the state tree is modified by actions, you need pure functions. Pure functions are those whose return value depends entirely on the values of their arguments.
You must be register. Registration is 100% free.to reply to this thread.Please or