Do you want to request a feature or report a bug?
bug, I believe, unless I misunderstand how it works
What is the current behavior?
Given a Suspense inside Suspense case like
<Suspense fallback="Fallback 1">
<LazyText1 text="First text" />
<Suspense fallback="Fallback 2">
<LazyText2 text="Second text!" />
</Suspense>
</Suspense>
Promises in LazyTexts start resolving at the same time, but if LazyText2 is resolved first it never renders, Fallback 2 stays.
Result:
Please see https://codesandbox.io/s/234o4zry7n
What is the expected behavior?
Every LazyText displayed in the end
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
react, react-dom 16.6.0
Do you want to request a feature or report a bug?
bug, I believe, unless I misunderstand how it works
What is the current behavior?
Given a
SuspenseinsideSuspensecase likePromises in
LazyTextsstart resolving at the same time, but ifLazyText2is resolved first it never renders,Fallback 2stays.Result:
Please see https://codesandbox.io/s/234o4zry7n
What is the expected behavior?
Every
LazyTextdisplayed in the endWhich versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
react, react-dom 16.6.0