News for hackers. Stuff that matters.
Re:React Concurrent Mode by AgentME on Thursday October 24, 2019 @06:44PM (#21349955)
Redux already has ways to do fine-grained rerendering. (That's why redux has you give selector callbacks that operate on the state instead of just exposing the whole redux state to components. Redux only re-renders the whole component when a selector callback returns a new value.)
Re:React Concurrent Mode by mosdl on Thursday October 24, 2019 @08:45PM (#21350689)
Redux still has to evaluate the selector each time since it has no clue if any of it's depedencies have changed.
Re:React Concurrent Mode by pault on Friday October 25, 2019 @01:19AM (#21352123)
That's why libraries like reselect use memoized selectors.