You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to utilize Suspense preview with useTransition hook? #258
The only way to customize the timeout or the busy milliseconds settings for React.Suspense is by using the useTransition hook. Was curious if anyone had the pattern to use useAsync with useTransition to achieve this functionality. The default busy delay is only 100ms for React. Most people I imagine would want to customize this to suit their timing needs. useTransition API
Activity
ghengeveld commentedon Feb 28, 2020
Can you explain what you're trying to achieve?
TroySchmidt commentedon Feb 28, 2020
The only way to customize the timeout or the busy milliseconds settings for
React.Suspenseis by using theuseTransitionhook. Was curious if anyone had the pattern to useuseAsyncwithuseTransitionto achieve this functionality. The default busy delay is only 100ms for React. Most people I imagine would want to customize this to suit their timing needs.useTransition API