-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Inner" <Subscribe> is skipped in case of nested <Subscribe>s #309
Comments
Can you provide an example please? I've tried it on this sandbox and it seems like it's working correctly https://codesandbox.io/s/react-rxjs-suspense-swn29y?file=/src/App.tsx Keep in mind that Subscribe has to do a double-render when getting mounted, where it will render the fallback (defaulting to null) just on the first render, then immediately renders the children. On the case you don't want your Subscribe fallback to appear, you can take it out from there and add a regular |
Sorry I have been rushing to meet a deadline. I will put up an example as soon as I am done with it. |
I'll close this issue as we can't really reproduce it. If anyone can provide a test or a reproducible example we can reopen it. Check that none of the other components ( |
What I expected
While the data for
<ComponentThatSubscribesToAStreamWithoutADefaultValue>
is loading, only that section of the page should display the loading fallback.What happens instead
Loading fallback for the whole page is displayed instead. It seems that the inner
<Subscribe>
is ignored entirely. Or I am using it wrong.The text was updated successfully, but these errors were encountered: