"document is not defined" - server side rendering broke from version 7.13.1 to 7.13.2
See original GitHub issueHi, all.
From version 7.13.2 onwards, merely importing swal
breaks node environments with “document is not defined”.
I tried to find here what could have caused this to come up with a PR, but I couldn’t find anything strange. Sorry 😕
https://github.com/sweetalert2/sweetalert2/compare/v7.13.1...v7.13.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Next.js: document is not defined - Stack Overflow
I think, in server rendering mode, the document is undefined. You should be able to use it inside class lifecycle methods or useEffect...
Read more >Confluence 7.13 Release Notes - Atlassian Documentation
Confluence Server and Data Center 7.13 is a Long Term Support release ... This Confluence version is no longer available for download.
Read more >Elasticsearch version 7.13.1 | Elasticsearch Guide [7.17] | Elastic
This issue is fixed in Elasticsearch versions 7.15.2 and later. There is no known workaround for earlier versions. Filesystems that enable sparse files...
Read more >Firebase JavaScript SDK Release Notes - Google
As of this version, Internet Explorer 11 is no longer officially supported by ... isomorphic code that works well with use cases like...
Read more >7.13 Sharing HTML output on the web | R Markdown Cookbook
One appealing aspect of rendering R Markdown to HTML files is that it is very easy to ... a set of files, or...
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 Free
Top 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
@firstdoit fixed in 7.15.1, sorry for this inconvenience. @zenflow added the test to prevent such regressions in future.
@zenflow now I know how the help-me-to-understand-infinite-loop looks like 😄