React Isomorphic Data Versions Save

Easily fetch json data in your React components, with similar APIs to react-apollo, and Suspense SSR :tada:

[email protected]

3 years ago

0.14.1 (2020-05-29)

Note: Version bump only for package ssr

[email protected]

3 years ago

0.17.1 (2020-05-29)

Bug Fixes

  • core: fix possible memory leak on SSR and validate JSON on non-raw request (eb196a2)

[email protected]

3 years ago

0.14.0 (2020-05-24)

Features

  • core: default global fetchPolicy and ssrForceFetchDelay (#60) (8fc342a)

[email protected]

3 years ago

0.17.0 (2020-05-24)

Features

  • core: default global fetchPolicy and ssrForceFetchDelay (#60) (8fc342a)

[email protected]

4 years ago

0.16.0 (2020-03-28)

Features

Bug Fix

  • Change the cache data structure to avoid collision with nested URL paths
Screen Shot 2020-03-28 at 16 35 12

[email protected]

4 years ago

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);

[email protected]

4 years ago

0.14.2 (2020-02-15)

Performance Improvements

  • core: make hoist-non-react-static a peerDep (d1c23eb)

The library now is less than 3 kB when minified + gzipped! :tada:

[email protected]

4 years ago

0.14.1 (2020-02-02)

Bug Fixes

  • core: fix initial loading is always false (99a515b)

[email protected]

4 years ago

0.14.0 (2020-01-28)

Features

[email protected]

4 years ago

0.13.1 (2020-01-24)

Improvements

  • use unstable_batchedUpdates to reduce number of re-renders (#37)