Skip to content

Server Side Rendering

Compare
Choose a tag to compare
@mbasso mbasso released this 11 Dec 21:39
· 123 commits to master since this release
33d92df

With this release you can now implement SSR (Server Side Rendering) with asm-dom. It adds 2 new functions:

  • toHTML that renders a vnode to HTML string. This is particularly useful if you want to generate HTML on the server.
  • toVNode to convert a DOM node into a virtual node. This is especially good for patching over an pre-existing, server-side generated content.

Bugfixes

Breaking changes

None