-
Notifications
You must be signed in to change notification settings - Fork 362
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
renderToString #47
Comments
👍 |
Yep this will likely land before I cut 0.1.6. |
Turns out in order for this to work a bug in React must be addressed first - facebook/react#860 |
FWIW, still doesn't work with the latest React (4974734) (.renderComponentToString js/React (dom/p nil))
; <p data-reactid=\".q\" data-react-checksum=\"1813907431\"></p>
(.renderComponentToString js/React (dom/input nil))
; Cannot read property 'firstChild' of undefined Though, the bug you filed seems to be resolved. This would be really useful to RDD. |
@hura I could not confirm this. It works for me using React master. |
Fixed in master and works with React 0.9-rc1. There are somer remaining edge cases but overall this works. |
👍 |
renderToString
of components should be very useful for server-side rendering.The text was updated successfully, but these errors were encountered: