react-passport-redux-example
react-passport-redux-example copied to clipboard
is there an interest in a PR with an upgrade to react packages?
hi, i forked the repo lately for a personal use. part of my work was to upgrade the following react packages
"react": "16.4.0", "react-dom": "16.4.0", "react-redux": "^5.0.6", "react-router": "^3.0.2", "react-router-redux": "^4.0.8", "redux": "^4.0.0", "redux-thunk": "^2.3.0"
would you like a pull request with this update? Zach
Hi @zachi as the repository is quite old now I hadn't intended on updating it. I would imagine some of the practices used are not best practices any more, especially when it comes to react and react-router. So I think I will leave it as it is and if it is still useful to others then that's good :)
By the way did the code still work for you once you upgraded to the new packages?
@kilkelly Im new to this environment (react, node, mongo :-), and needed user authentication mechanism to begin with, so this repo was an easy base to crash on. I had to update react class syntax: React.createClass => extends React.Component. Initialize state within the Ctor instead of using getInitialState and do some shuffling with the dependent packages. can you please give me a ref that will show the react-router practice change? In general. if you can think about other things that needs polishing..
zachi.