Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Add useTransition example to README #29

Open
ryanberckmans opened this issue Jun 16, 2020 · 0 comments
Open

Add useTransition example to README #29

ryanberckmans opened this issue Jun 16, 2020 · 0 comments

Comments

@ryanberckmans
Copy link

fetch-suspense is designed to work with React concurrent mode's Suspense. The fetch-suspense README contains an excellent example of usage with Suspense.

The other main new API in concurrent mode is useTransition. It would be helpful to have a README example showing to use fetch-suspense within a startTransition created by useTransition.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant