You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just tried to update the react dependency of React to version 16.
This version of React separates DOM Factories from the react library (react-dom-factories). Also, I have updated react-router to a version which supports React 16.
Unfortunately, the example is not working anymore. There are multiple identical errors indicating a TypeError - Cannot read property 'toLowerCase' of undefined.
The source of the problem is the Function getRootHostContext(rootContainerInstance) in the ReactFiberReconciler.
This function gets called multiple times with different node Types.
The internal of the function creates a valid object (toLowerCase function is working) if the rootContainerInstance is of section type - section-todo-app (2x from the start in the example). The object is invalid if the rootContainerInstance is a document-fragment.
Any suggestions ...
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I have just tried to update the react dependency of React to version 16.
This version of React separates DOM Factories from the react library (react-dom-factories). Also, I have updated react-router to a version which supports React 16.
Unfortunately, the example is not working anymore. There are multiple identical errors indicating a TypeError - Cannot read property 'toLowerCase' of undefined.
The source of the problem is the Function getRootHostContext(rootContainerInstance) in the ReactFiberReconciler.
This function gets called multiple times with different node Types.
The internal of the function creates a valid object (toLowerCase function is working) if the rootContainerInstance is of section type - section-todo-app (2x from the start in the example). The object is invalid if the rootContainerInstance is a document-fragment.
Any suggestions ...
Thanks!
The text was updated successfully, but these errors were encountered: