-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot add property elementType, object is not extensible #1357
Uncaught TypeError: Cannot add property elementType, object is not extensible #1357
Comments
Which version on React you are using? |
We are using react version 16.3.2. |
Any real reasons to use so old version? |
We don't upgrade every new version. We have large scale project and it has to be prioritized and go through a long QA cycle. Regardless, this is a minor version upgrade and we didn't expect a breaking change to be introduced. Is there a plan to fix this bug for pre 16.6 versions? |
It's one line change. Harder to test it properly. |
@theKashey |
Same problem, working with React v16.3. I imagine downgrading to an earlier version of |
Downgrading to |
Fixed in |
Description
We upgraded react-hot-loader from 4.12.12 to 4.12.15. Running into the above error with the new version.
Source line points to a recent commit in the code: 62bc67e
React Hot Loader version: 4.12.15
Run these commands in the project folder and fill in their results:
node -v
: 8.11.1npm -v
: 6.8.0Then, specify:
Stack:
react-hot-loader.development.js:1821 Uncaught TypeError: Cannot add property elementType, object is not extensible
at markUpdate (react-hot-loader.development.js:1821)
at deepMarkUpdate (react-hot-loader.development.js:1840)
at reconcileHotReplacement (react-hot-loader.development.js:2192)
at renderReconciler (react-hot-loader.development.js:2205)
at Object.asyncReconciledRender [as componentWillRender] (react-hot-loader.development.js:2213)
at Component.proxiedRender (react-hot-loader.development.js:770)
at finishClassComponent (react-dom.development.js:8389)
at updateClassComponent (react-dom.development.js:8357)
at beginWork (react-dom.development.js:8982)
at performUnitOfWork (react-dom.development.js:11814)
at workLoop (react-dom.development.js:11843)
at renderRoot (react-dom.development.js:11874)
at performWorkOnRoot (react-dom.development.js:12449)
at performWork (react-dom.development.js:12370)
at performSyncWork (react-dom.development.js:12347)
at requestWork (react-dom.development.js:12247)
The text was updated successfully, but these errors were encountered: