I'm hoping Relay solves the data fetch problem in a way that makes isomorphic applications much cleaner.
I'm hoping Relay solves the data fetch problem in a way that makes isomorphic applications much cleaner.
The Kadira team have even gotten Server-Side Rendering working with React [2][3] while no-one has yet for Blaze because the Blaze templates aren't currently available on the server due to how the bundler works. I'm sure MDG will make them available soon and then we'll be able to have SSR with both React and Blaze.
1. http://react-in-meteor.readthedocs.org/en/latest/
2. https://github.com/kadirahq/flow-router/tree/ssr
3. https://kadira.io/blog/meteor/meteor-ssr-support-using-flow-...
Not if you use a server side templating engine that supports async rendering like MarkoJs [0][1].
[0] - https://marko-progressive-rendering.herokuapp.com/ [1] - https://github.com/marko-js/marko
Also I don't think the templating language has anything to do with the nature of blocking vs non-blocking data fetching.
The previous commenter was specifically talking about the issue where the client side of an isomorphic application can "show the view with a 'loading' indicator", but generally the server is not able to stream out the full HTML until all data has been gathered and processed. The templating engine that I mentioned has a solution to that specific issue.
For example, in the first link, you can see that even though the template is rendered on the server, and has a data source with a 3 second delay, it does not prevent the rest of the template from being rendered and sent to the client, and includes a "loader"-like message (you could easily plop a loading gif in there instead of the textual message in the example).
So it does seem relevant to me.
<ul>
<for each="item in items">
<li>${item}</li>
</for>
</ul>
I have no problems with a mess that looks like that. Anyone on my team could pick that up with no problems whatsoever.But it's not. "className", much?
https://developer.mozilla.org/en-US/docs/Web/API/Element/cla...
They offer so much more context.
The React folks didn't make them up.