Skip to content

react-isomorphic-data@0.15.0

Choose a tag to compare

@jackyef jackyef released this 21 Mar 09:10
· 18 commits to master since this release
9bb1237

0.15.0 (2020-03-21)

Features

  • core: react-ssr-prepass for more performant SSR (#46) (d8747cf)

As of this version, react-isomorphic-data does SSR with Suspense (with react-ssr-prepass) to avoid calling renderToStringMarkup repeatedly. This should yield better SSR performance.

Potentially breaking changes

  • renderToStringWithData and getDataFromTree now no longer needs DataClient as second param
Previously:
renderToStringWithData(tree, dataClient);
getDataFromTree(tree, dataClient);

Now:
renderToStringWithData(tree);
getDataFromTree(tree);