Closed greenlaw110 closed 9 years ago
@greenlaw110 thanks. if you will do a pull request, then I will merge it. I see you already have fixed this part here: https://github.com/greenlaw110/react-router-flux-starter-kit/commit/f02f05dcf7343a14108557170a7d84fb2b87ec83#diff-74fd7423691685207bf4b7a5e58e5b2cR17
merged
In
AuthenticationMixin.js
it assignedtransition
toLogin.attemptedTransition
static field:However that static field is never used in the application. My hypothesis is it should be used in
components/auth/login.js::componentDidUpdate
:Instead of direct the route to
/dashboard
, it shall check theattemptedTransition
state and redirect to there if it's notnull
.