done-ssr-incremental-rendering-client
The client code for incremental rendering
Usage
ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'done-ssr-incremental-rendering-client';
CommonJS use
Use require
to load done-ssr-incremental-rendering-client
and everything else
needed to create a template that uses done-ssr-incremental-rendering-client
:
var plugin = require("done-ssr-incremental-rendering-client");
Standalone use
Load the global
version of the plugin:
<script src='./node_modules/done-ssr-incremental-rendering-client/dist/global/done-ssr-incremental-rendering-client.js'></script>