by wingspan on 10/26/18, 4:15 PM with 1 comments
by acemarke on 10/26/18, 4:41 PM
Based on that, I'm also starting to think about how we might have a `useRedux` hook as part of v6. Tim already filed an issue at https://github.com/reduxjs/react-redux/issues/1063 for discussion.
However, in v6, we're switching from putting the _store_ into legacy context, to putting the _store state_ into new context. This actually brings up an issue with hooks - see the thread at https://twitter.com/acemarke/status/1055694323847651335 for discussion with the React team. So, hopefully we'll be able to do that performantly by the time that React 16.7 comes out.