simple-tsx-vdom-hydration
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

Simple TSX VDom Hydration

NPMBadge for Gzip size

A simple implementation of hydrating server-side rendered HTML for simple-tsx-vdom.

Note: This is not intended for production nor as a proper replacement for more complete solutions like React or Preact.

Install

To get from npm simply run.

npm install --save simple-tsx-vdom-hydration

You will also need simple-tsx-vdom installed as it is a peer dependency.

Features

  • Small file size less than 1kb after compression.
  • No other dependencies other than simple-tsx-vdom.
  • Written in Typescript..
  • Simple API, adds a single high level hydrate function that is a drop in replacement for render.

License

MIT

Author

Alan Lawrey 2021

Package Sidebar

Install

npm i simple-tsx-vdom-hydration

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

19 kB

Total Files

8

Last publish

Collaborators

  • alan.lawrey