Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React and React-Dom versions should match?

Do React and React-Dom have to be the same version?

Example in our app:

React v 15.0.2, React-Dom v 15.3.1

Everything has been working fine in our app until recently, we are getting a strange error.

Type Error: Cannot read property 'getNativeNode' of null (ReactReconciler)

like image 545
Abdul R. Taleb-Agha Avatar asked Sep 05 '16 15:09

Abdul R. Taleb-Agha


1 Answers

For versions lesser equal than 15.4 they should match.

After release on Nov 16 2016 they have finally separated React and React DOM.

https://facebook.github.io/react/blog/2016/11/16/react-v15.4.0.html

like image 53
locropulenton Avatar answered Oct 18 '22 13:10

locropulenton