Incompatible with server-side rendering
See original GitHub issueA source tree with react-modal in it, running in Node, yields the following:
/node_modules/react-modal/lib/components/Modal.js:18
appElement: React.PropTypes.instanceOf(HTMLElement),
^
ReferenceError: HTMLElement is not defined
…and halts entirely.
How would you feel about making this propType a little more lenient (object
, perhaps)?
Issue Analytics
- State:
- Created 9 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Angular UNIVERSAL prerender error Method Promise ...
I was facing similair issue with my Azure Pipelines when the NodeJS version wasn't defined, then it took the latest LTS v16.18.0 ....
Read more >What is server-side rendering: definition, benefits and risks
Server -Side Rendering (SSR) is an approach to rendering content for the website. Learn the benefits, drawbacks and frameworks of server-Side ...
Read more >Problems sending errors with reactjs and server side rendering
Hi,. We are making a web using reactjs in client side and nodejs in server side to make server side rendering, we want...
Read more >What is server-side rendering and how does it improve site ...
Server -side rendering ensures that website content appears quickly, without first having to download and run application code.
Read more >Troubleshooting Common Errors - Gatsby
Inconsistent CSS styles between develop and build using styled-components or ... Because gatsby develop doesn't run server-side rendering, the build may ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you post a gist? I’m pretty sure I don’t need the things to work on the server… I just need them to not crash the server.
Resolved with #22