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
It's currently possible to achieve server side rendering of Metal.js components, but it requires libraries such as https://www.npmjs.com/package/jsdom to accomplish.
With these changes the second code snippet above should work correctly in a Node.js environment. Once/if these branches are merged, I would like to create a server side integration test separate from the current testing environment we have set up for this repo to test this functionality.
Update: I've sent another PR that adds a simple test for server side rendering.
It's currently possible to achieve server side rendering of Metal.js components, but it requires libraries such as https://www.npmjs.com/package/jsdom to accomplish.
However, it would be nice to have out of the box isomorphic rendering.
I have sent the following three pull requests relating to server side rendering of components.
#264 (metal-dom)
#265 (metal-soy)
#266 (metal-incremental-dom)
With these changes the second code snippet above should work correctly in a Node.js environment. Once/if these branches are merged, I would like to create a server side integration test separate from the current testing environment we have set up for this repo to test this functionality.
Update: I've sent another PR that adds a simple test for server side rendering.
#269
The text was updated successfully, but these errors were encountered: