dai-shi / react-suspense-fetch

[NOT MAINTAINED] A low-level library for React Suspense for Data Fetching
MIT License
296 stars 8 forks source link

add get options to explicitly force prefetch #44

Closed dai-shi closed 2 years ago

dai-shi commented 2 years ago

We should require prefetch before get. It now throws if prefecth is not called in advance. For an escape hatch, it has an option to work around.

codesandbox-ci[bot] commented 2 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 89e9d5ce58778f12a2a505173d3675feead33329:

Sandbox Source
React Configuration
React Typescript Configuration