You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tornado templates should be able to render on the server with Node. There are Node implementations of the DOM API (e.g. simple-dom) that should get us most of the way there, but there are still a few things lacking.
tornado#render may need to return a promise that resolves when all internal promises have resolved, because values that resolve after the server responds would otherwise not be included in the HTML payload.
simple-dom does not support the innerHTML property, which is used within the Tornado runtime, and seems like the easiest way to turn the DOM returned by Tornado into a string.
because Tornado creates DOM instead of strings, it seems like streaming (and thus early flush) is not possible. This needs further investigation.
The text was updated successfully, but these errors were encountered:
The new version of the compiler allows us to compile to whatever we want (or compile to one language in different ways). We should consider this as a part of our SSR discussion.
Tornado templates should be able to render on the server with Node. There are Node implementations of the DOM API (e.g. simple-dom) that should get us most of the way there, but there are still a few things lacking.
innerHTML
property, which is used within the Tornado runtime, and seems like the easiest way to turn the DOM returned by Tornado into a string.The text was updated successfully, but these errors were encountered: