mxstbr / login-flow

:key: A login/register flow built with React&Redux
https://loginflow.mxstbr.com
MIT License
1.6k stars 215 forks source link

Alternate authentication flow implementation #10

Closed geakstr closed 8 years ago

geakstr commented 8 years ago

Have you seen this solution? https://github.com/joshgeller/react-redux-jwt-auth-example

I think the idea use high-order component is very useful

mxstbr commented 8 years ago

What's the benefit over using the react-router onEnter hook?

geakstr commented 8 years ago

Oh, I don't fully understood your solution, sorry. onEnter looks better 😊