Skip to content

Releases: donejs/done-ssr

Adds the xhrCache option

29 Oct 19:48
Compare
Choose a tag to compare

This adds xhrCache: false as an option.

Specifies if the XHR cache should be inlined into the page. The XHR cache is used to prevent duplicate requests from occuring in the client when hydrating from server-rendering HTML. In some cases you might not use XHR in the client and therefore want to prevent the script from being included.

const ssr = require('done-ssr');

const render = ssr({}, {
  xhrCache: false
});

Ensure can-globals is cleaned up at the end of the zone

17 May 18:20
Compare
Choose a tag to compare

Adds missing dependency

13 May 12:13
Compare
Choose a tag to compare

can-view-nodelist was a missing dependency. This adds it.

Unregister nodeLists set on Zone's data object

07 May 18:20
Compare
Choose a tag to compare

3.2.5

16 Jan 19:05
Compare
Choose a tag to compare

This fixes a bug when setting cookies one the Zone has expired.

3.2.4

14 Jan 13:23
Compare
Choose a tag to compare

This is a refactor of incremental rendering's reattachment markup. It fixes a bug with React.

3.2.0

04 Jan 19:01
Compare
Choose a tag to compare

This is a minor release that allows a function to be provided as the first
argument of ssr, instead of a steal configuration. Doing this you do not use
steal, but rather the function executes.

const ssr = require("done-ssr");

const render = ssr(() => {
	let el = document.createElement("div");
	document.body.appendChild(el);
});

require("http").createServer(render);

3.1.0

04 Jan 18:59
Compare
Choose a tag to compare

This is a minor release that adds a domZone option, which allows providing an alternative zone for the DOM.

3.0.3

13 Dec 15:13
Compare
Choose a tag to compare

This is a patch release, fixing a bug with the <link rel="preload"> for incremental rendering did not contain a valid as attribute.

3.0.2

10 Dec 22:07
Compare
Choose a tag to compare

Fixes a bug with libraries that expect there to always be a documentElement.