4 ms·
Andrew's not wrong, but I'm also not entirely convinced it's as big of a concern as he's describing. For context, Andrew is a co-creator of Redux, and is a cur
by acemarke 7y ago
Andrew's not wrong, but I'm also not entirely convinced it's as big of a concern as he's describing.
For context, Andrew is a co-creator of Redux, and is a current React core team member. He's spent the last couple years working deeply on the "React Fiber" rewrite that became 16.0, and the "Suspense" and "Concurrent Mode" features that are now available in alpha.
He's definitely right that Redux's synchronous update model is somewhat limited compared to how React's "Concurrent Mode" needs to be able to dynamically re-order state updates based on priorities. But, it remains to be seen how much of an actual problem this is in practice. Andrew's been heads-down in this feature for a long time, and so it's natural that he's seeing everything through that kind of a lens.
We've got an open issue to discuss and analyze how React-Redux might be able to work better with CM and Suspense:
https://github.com/reduxjs/react-redux/issues/1351 https://github.com/reduxjs/react-redux/issues/1351