Cannot read property 'render' of undefinedSee original GitHub issue
About 1 in 100 students are not able to load react-dom off their local file system.
If you are seeing “React is not rendered” in your index.html file with getting the “Cannot read property ‘render’ of undefined” error, that means the react-dom script is not loading from your npm_modules directory.
The patch for this fix if it’s happening to you, is to load the file off the network vs locally through unpkg:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Uncaught TypeError: Cannot read property ‘render’ of undefined at Object.parcelRequire.App.js.react (App.js:30) at newRequire (App.d36a57b6.js:47) at App.d36a57b6.js:81 at App.d36a57b6.js:120
###This is the error/