chernyshof / react-phoenix-users-boilerplate

Elixir/Phoenix + React + users template/boilerplate.
https://phxboilerplate.herokuapp.com/
MIT License
71 stars 11 forks source link

Push route in saga #13

Open mrdotb opened 6 years ago

mrdotb commented 6 years ago

Hello,

Any idea how can I fix the yield put(push('/')); in sagas/session. Currently I get a history is not defined error. Another issue how to travel back after a location change ? I think the two problems are related. React router + redux is a bit unclear now that redux stuff are merged in router core.

Thanks

mrdotb commented 6 years ago

I fix half of the problem in https://github.com/chernyshof/react-phoenix-users-boilerplate/pull/14