Discussion - Move to Redux Actions + Reselect
See original GitHub issueHey all!
I’d like to get your feedback about start migrating our actions/reducers to redux-actions
and reselect
. Here’s a PR I created a while back to the organizations actions/reducers.
I think this is a good move, we will reduce our boilerplate greatly and will let us organize our application in a more elegant and legible way.
If we decide that this is a good move, I can update the docs and will create a list similar to what @andrewda did for the unit tests in #518
https://github.com/gitpoint/git-point/pull/269
Thanks!!!
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Use reselect in Redux Actions or Reducers · Issue #305 - GitHub
Hi,. If I understood it right, we can use reselect in actions or reducers as @markerikson says in this post:.
Read more >Deriving Data with Selectors - Redux
Reselect provides a function called createSelector to generate memoized selectors. createSelector accepts one or more "input selector" functions ...
Read more >Actions and reducers: updating state - Human Redux
Actions and reducers: updating state. I glossed over how state changes occur in the previous chapter. Let's look a bit deeper. In Redux...
Read more >Redux actions - Fullstack React
With Redux in place, let's talk about how we actually modify the Redux state from within our applications.
Read more >How to build React Native app with Redux and Reselect
In this article we will go through how to build a highly performant React Native app with Redux and Reselect. Written by Ifeanyi...
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
Normalizr and reselect can massively reduce the amount of transformation and prop manipulation, and thus re-rendering done. But nicer still, Github released v4 of their API with GraphQL support, so you can retrieve a normalised well-shaped response right out of the gate, may be worth looking at: https://developer.github.com/v4/
Closing this issue as we started a massive refactoring of our Redux store. More details in #761