5 ms·
This might just be personal preference, but it seems that "current thread" is the more pure representation of (that part) of the current state, and the URL/rout
by matt4077 11y ago
This might just be personal preference, but it seems that "current thread" is the more pure representation of (that part) of the current state, and the URL/route should be the derived attribute.
- snappy173 11y agoIn that case, you can have a redux state reducer look for navigation actions, and set current thread. Either way works well with the flux/redux mental model. And in either case, you'll have to implement logic for mapping route -> current thread and vice versa ...