4 ms·
>> add a loading state near the component that suspended, as you have to create an intermediate component and a loading component, splitting what should be a s
by tuan 5y ago
>> add a loading state near the component that suspended, as you have to create an intermediate component and a loading component, splitting what should be a single concern into several
I'm not following. Can you just wrap the component that suspends with <Suspense fallback={SharedLoadingUI} /> ? The SharedLoadingUI could help with duplication right ?