Setup redux for the react client
See original GitHub issueThe code is becoming a little off hand with setState
currently. Pulling in a state management lib like Redux or Freactal would be fanstastic for the code base.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Getting Started with React Redux
The recommended way to start new apps with React and Redux is by using the official Redux+JS template or Redux+TS template for Create...
Read more >How to setup Redux with React (2020) - DEV Community
Step 1: Setup your react project · Step 2: Install redux and react-redux · Step 3: Setup Redux Store in your index.js ·...
Read more >How To Set Up Redux in React - Upmostly
Install Redux Dependencies ; npm: npm install @reduxjs/toolkit react-redux ; yarn: yarn add @reduxjs/toolkit react-redux.
Read more >How to Setup Redux and Connect to React App | Nerd For Tech
Here I am sharing my knowledge and experience about how we can set up Redux and Connect to React App (Everything you need...
Read more >Simple example with React and Redux on the client side
In the lesson, I will guide you to create a small application with the React & Redux, of which the Redux library helps...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome @spaceraccoon 😃 Once you have the state map ready, I’d say, why don’t you go for the initial set up too. Just install and put everything in the right place. You have worked with it, your setup could handle issues and solve for mistakes redux beginners like me would make. Then, when we have the initial setup ready, we divide the state tree among ourselves and start implementing.
What do you think?
@nshntarora as you work on redux, I would suggest not storing editorState in the state store.This is ideally local state and that will get destroyed quick quickly. Another reason is that the editor area could be independent of redux, so in the future (I know, YAGNI), if we need to pull it out as a separate dependency via lerna/yarn workspaces or something, it’d be easy to achieve.