VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.89k forks source link

Uncaught TypeError: React.createRef is not a function #2015

Closed deligent closed 6 years ago

deligent commented 6 years ago

Hi, I'm getting lots of errors when trying to implement my own package or your example package like sample, form, movies, Instagram. I think your (documentation, video tuts) too old, that does not matched with your current GitHub repository. If i'm a new user then it is very difficult to learn and implement Vulcan package in project. How I would implement my own package successfully using Vulcan repository?

Please guide me. Thanks vulcanjs_error

SachaG commented 6 years ago

createRef is only available in React 16.3 I think, so you need to upgrade React. I've also removed createRef on the devel branch, if you pull the latest commits. Btw if you're running the devel branch you should know that some things will break, it's not a stable branch.