-
Notifications
You must be signed in to change notification settings - Fork 197
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
SSR with Blaze #545
Comments
Okay. If so, I think this is super cool. Make sure BlazeComponents are rendered inside a FlowRouter action. See: https://github.com/kadirahq/react-mounter/blob/master/lib/server.js#L26 |
What about wrapping subscribe calls inside Blaze Components? Will this be done automatically? |
Yes. They are automatic. But they need to happen in the same eventloop cycle where FlowRouter .action() is called. Using it inside a |
+1 |
I would like to contribute. Is anyone actively doing this? Seems like the guide dropped iron router |
See some discussion here and related tickets. |
Blaze is not available on the server side, but Blaze Components are. I have not done much testing with SSR, but I am opening ticket here if anyone is interested to try to implement it.
(Just to be clear, if you use Blaze Components, you can also use pure Blaze, so using Blaze Components instead of Blaze gives you also normal Blaze support on the server side. So this can work even for simple Blaze templates.)
See related ticket in Blaze Components repository: peerlibrary/meteor-blaze-components#110
The text was updated successfully, but these errors were encountered: