Closed
Description
Are there any examples of using Nuclear-js with React Router?
It seems like if I have routes such as order/:id
then this has moved state out of Nuclear's store and into the route. Is this OK?
Another flow I'm confused about is:
- Route
/new-order
displays a basic form page - Click "Save"
CREATE_ORDER
action is dispatched- The store reacts to that action by adding a new order
- UI should go to route
order/:id
, where:id
is that of the new order.
Which code should have the responsibility of transitioning routes after order is created?
I guess in general this comes down to who's ultimately in charge, the router, or Nuclear? Any thoughts, pointers, blog posts, etc, you can share will be much appreciated.
By the way, I'm really liking the Nuclear approach to flux in general. So thanks for all the time you guys have put into it.
Metadata
Metadata
Assignees
Labels
No labels