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

ReferenceError: window is not defined (SSR) #9

Closed
theasia-Ashish opened this issue Jul 1, 2017 · 2 comments · Fixed by #12
Closed

ReferenceError: window is not defined (SSR) #9

theasia-Ashish opened this issue Jul 1, 2017 · 2 comments · Fixed by #12

Comments

@theasia-Ashish
Copy link

Didn't work with server side rendering.

@theasia-Ashish theasia-Ashish changed the title window.Intl = IntlPolyfill; ReferenceError: window is not defined ReferenceError: window is not defined (SSR) Jul 1, 2017
@cwtuan
Copy link
Collaborator

cwtuan commented Jul 2, 2017

Will fix it in next release.

@cwtuan cwtuan mentioned this issue Jul 9, 2017
@cwtuan cwtuan closed this as completed in #12 Jul 9, 2017
@cwtuan
Copy link
Collaborator

cwtuan commented Jul 9, 2017

@theasia-Ashish SSR is supported in 1.2.1.

Please refer to https://github.com/alibaba/react-intl-universal/tree/master/examples/node-js-example for example.

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 a pull request may close this issue.

2 participants