question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suspense transition with prop change

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jorbascrumpscommented, Sep 3, 2019

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.

1reaction
jorbascrumpscommented, Mar 1, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found