Suspense transition with prop change
See original GitHub issueI’ve noticed that whenever I update props and useFind
is called again, there’s a short flicker as the fallback UI is rendered. Is it possible to have a smoother transition?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Concurrent UI Patterns (Experimental) - React
When the data has loaded, React transitions us to the new screen. React only “waits” for <Suspense> boundaries that are already displayed. If...
Read more >How to apply a smooth transition with React Suspense?
Is there a simple way to apply a smooth transition without wrapping each suspended component with a keyframe opacity animation(on each re-render ...
Read more >Transitions that Suspend - React 18 - YouTube
Source code: https://github.com/ryanto/ suspense - transitions. ... Today we're going to take a look at the useTransition hook that's new in ...
Read more >13 Experimenting with useTransition, useDeferredValue, and ...
npm install react@experimental react-dom@experimental ... import { useState, unstable_useTransition as useTransition, #1 Suspense } from "react"; ...
Read more >Improve Suspense loading states with useTransition
React Suspense with Concurrent mode comes with a default optimization that is ... use-transition API that we can use to start transitions for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great! I’ll see if I can get some time to give it a spin. Thank you for taking the time to put this together.
Glad I’m not alone! I looked into using React Transition Group but couldn’t quite get it to work. If I do eventually, I’ll provide an example here.