react-isomorphic-data@0.15.0
·
18 commits
to master
since this release
0.15.0 (2020-03-21)
Features
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
renderToStringWithDataandgetDataFromTreenow no longer needsDataClientas second param
Previously:
renderToStringWithData(tree, dataClient);
getDataFromTree(tree, dataClient);
Now:
renderToStringWithData(tree);
getDataFromTree(tree);