coryhouse / react-flux-starter-kit

Quickly get started with React and Flux using Browserify and Gulp
682 stars 247 forks source link

converting this code to React 4? #18

Closed alernerdev closed 6 years ago

alernerdev commented 6 years ago

Sorry, not an issue, but didnt know where else to post it. I have tried to do this course using React/Router 4 -- finally gave up, just too many differences, and I am a beginner with this stuff. Did anyone try to upgrade the source code? I gave up at the author form hydration section. Preventing routing away from a dirty form doesnt work either, although I have taken it pretty far. My source is here: https://github.com/alernerdev/psadmin if anyone is interested in continuing this. THanks

coryhouse commented 6 years ago

Hi @alernerdev - To follow along with the course, be sure to use the exact versions I specified. And good news, I've posted a PR here that shows how to upgrade the final course app to use the latest versions. As you'll see, most the changes are trivial except for the changes in React Router 4. :)