-
Notifications
You must be signed in to change notification settings - Fork 48
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
You are manually calling a React.PropTypes validation function #22
Comments
+1 |
1 similar comment
+1 |
Same. |
There must be some good reason for this...surely they knew this would ruin SSR? |
I was looking into this just to realise that |
Just run into a new issue by using ReactDOMStream:
Looks like the change is not too hard ? |
Any updates on this? |
If you are using react 16, it seems to me that you should better use the renderToNodeStream method from ReactDOMServer to fix this issue. Reference: |
After upgrading react to 15.3.0, it shows the following warning message via the server side rendering:
I think it may call PropTypes directly within the call path of renderToStaticMarkup
The issue can be reproduced by the following code:
Could you kindly help this issue.
Thanks.
The text was updated successfully, but these errors were encountered: