Skip to content
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

fix server side rendering with ReactDOMServer #59

Merged
merged 1 commit into from
Sep 24, 2016

Conversation

binary1101
Copy link
Contributor

ReactDOMServer provides window, but not document, so it still breaks server rendering.

ReactDOMServer provides window, but not document, so it still breaks server rendering.
@clauderic
Copy link
Owner

Looks great, thanks for submitting this! :shipit:

@clauderic clauderic merged commit 2522fec into clauderic:master Sep 24, 2016
@binary1101
Copy link
Contributor Author

can you release it to npm?

@clauderic
Copy link
Owner

Yep, just published 0.0.9 to npm 👍

DimitarNestorov pushed a commit to codemotionapps/react-sortable-hoc that referenced this pull request Feb 4, 2019
Server-side rendering bugfix: safeguard against `document` being undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants