Open EmmanuelSkapple opened 7 years ago
Hi! It has to work. Did you add react-router? In my code I use "react-router": "3.0.2".
What do you mean by not working? Do you have errors in console or when budle is compiled?
Do u have link to your project?
Hi I use "react-router": "4.1.1", I not have problems in console only not working
this is the proyect https://github.com/adan-itsz/beBat
React Router v4 significantly differs from v3, so in this case I suggest to use react-router v3 and use browserHistory or follow instruction for react-router v4, check https://reacttraining.com/react-router/web/example/auth-workflow
Thanks Aksana I check for the v4, and I'll let you know if I could, 😃
Hi Aksana You answered me a couple of days ago in stackoverflow I wanted implement part of your code, for redirect to other section if the login is success but the browserHistory.push() is not working can you help me? please 😃