-
Notifications
You must be signed in to change notification settings - Fork 34
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
renderToNodeStream support #13
Comments
Haven't considered that use case yet, but presumably instead of pushing to an Array we could use an Observable. Do you have any thoughts on this? |
Sorry I'd no idea too @tizmagik. But observable is good idea though. |
Actually hmm, now that I think about it, it probably doesn’t make sense for this library to actually do anything when rendering to node stream on the server since once the head is sent over the wire, it can’t change. The good news though is that on the client the head should be updated correctly with any head tags rendered deeper in the tree after minting. Does that make sense? What do you think? |
yes, I also think it's impossible, and the same issue is still open on the react-helmet side. Also there's possible solution in nfl/react-helmet#296, but still no idea how to implement it |
Well the good news is that this lib should work fine whether you That |
I got everything to work thanks to https://github.com/alexisjanvier/universal-react Edit: Forget this. I noticed before going to prod that meta tags were inconsistent and had to change back to renderToString |
Thanks for looking into this @shizpi -- they were inconsistent in what way? |
Hi,
Do you have plan for renderToNodeStream support?
Thanks
The text was updated successfully, but these errors were encountered: