jackyef / react-isomorphic-data

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

Home Page:https://react-isomorphic-data.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for React Suspense

jackyef opened this issue · comments

We can refer to how https://github.com/zeit/swr implements this.

This will be really nice to have, but I think this should be implemented after other stuffs are done.

Ideally, implementing this should include a render-as-you-fetch functionality as well.

references:
https://twitter.com/dan_abramov/status/1191569529471549440
https://youtu.be/JDDxR1a15Yo?t=5210
https://reactjs.org/docs/concurrent-mode-suspense.html

Added in 0.12.0