2 ms·
1. Tab state is presentation state, so generally belongs in the component rather than in Flux which is generally for business state. 2. If you do have a tabs
by bryanlarsen 10y ago
1. Tab state is presentation state, so generally belongs in the component rather than in Flux which is generally for business state.
2. If you do have a tabs reducer, it should be considered part of your tabs component. Use a good boilerplate that sets it up that way, like https://github.com/mxstbr/react-boilerplate https://github.com/mxstbr/react-boilerplate