See above! As minimal as Redux is, the challenge it addresses - app state management - is a complex topic that is too involved to properly discuss here.
You can attach a dynamic reducer to a component whether it's a regular component
or a component that will be loaded dynamically. Dynamic means that it will be
injected when the component it attached to is mounted. In your component's
You don't need to do it by hand, a
container generator will generate everything
Login Flow Example
To get you started on a login flow, there's a great example here.
Note: Based off of react-boilerplate v3.4
There are a few reasons why we chose to bundle redux with React Boilerplate, the biggest being that it is widely regarded as the current best Flux implementation in terms of architecture, support and documentation.
You may feel differently! This is completely OK :)
Below are a few reasons you might want to remove it:
I'm just getting started and Flux is hard
You're under no obligation to use Redux or any other Flux library! The complexity of your application will determine the point at which you need to introduce it.
Here are a couple of great resources for taking a minimal approach:
It's overkill for my project!
React Boilerplate is a baseline for your app: go for it!
If you feel that we should take a closer look at supporting your preference out of the box, please let us know.