can-zone-jsdom
can-zone-jsdom is a Zone plugin that provides a DOM implementation backed by jsdom.
Install
npm install can-zone-jsdom --save
Usage
The most common way to use can-zone-jsdom is to provide a HTML page as the entry point. This page will be loaded in a new JSDOM context, and its scripts executed. Below shows using the plugin within an Express app.
const Zone = ;const express = ;const app = ; const dom = ;const requests = ; app;app; app; app;
See this guide for a more full featured example using incremental rendering within a React app.
License
MIT