liquid-blau
v1.2.0
Published
<b> Warning - Still in alpha</b>
Downloads
2
Readme
Liquid Framework
Warning - Still in alpha
Liquid is a small library that supports client side functionality such as components, state management and lazy loading / hydration. Also, it also provides server components(still in work - need to be ported to TS for better type safety)
Example:
- Create Server components:
const { ServerElement } = require('./elements');
var elem = new ServerElement('<h1>Liq Internal: {{new}}</h1>');
elem.bind(null); // or your own express server handle
elem.serve('/wow');
elem.run();
elem.states = {"new": 'wow'};
* Need to be implementd using Web Sockets so that every change in state is communicated via the channel.