This repository was archived by the owner on May 15, 2018. It is now read-only.

Description
All things mentioned here doesn't have anything to do with the Link
components or other components of the react-router
library.
Minimum valuable product/idea:
- User clicks on a custom
Link
components
- An redux action is dispatched, let us call this one
NAVIGATE_START
- The developer has attached a
Promise
or async
action to the Link
component
- The
Promise
/async
action is resolving or rejecting and automatically dispatching a redux action (let's call this one NAVIGATE_END/success
or NAVIGATE_END/failure
)
Now, since the user needs some visual feedback for the loading process, it would be awesome to have something like loadie.js
(buggy and old) or nprogress
. The start
method is called on NAVIGATE_START
and the finish
method is called on NAVIGATE_END/*
What we need
Link
components
- The corresponding actions
- Middleware to dispatch the
start
and finish
actions from nprogress or else