-
Notifications
You must be signed in to change notification settings - Fork 143
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-orderdisplays a basic form page - Click "Save"
CREATE_ORDERaction is dispatched- The store reacts to that action by adding a new order
- UI should go to route
order/:id, where:idis 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