@prsm/hydro
v1.0.3
Published
Simple full-stack POC app. Features:
Downloads
420
Readme
buildless-ssr
Simple full-stack POC app. Features:
- No build stage at all. The only step is dependency installation.
- SSR support, isomorphic components.
- As close as possible to production environment.
- React-like experience (using Preact and htm).
npm i
npm startUses htm instead of JSX, which means you get these features that are not possible with JSX:
- No transpiler necessary
- HTML's optional quotes:
<div class=foo> - Component end-tags:
<${Footer}>footer content<//> - Syntax highlighting and language support via the lit-html vscode extension
- Multiple root element (fragments):
<div /><div /> - Support for HTML-style comments:
<div><!-- comment --></div>
Taken from here.
