-
Notifications
You must be signed in to change notification settings - Fork 5
Fix Nimbus OutletContext not being updated with client data #1590
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
Fix Nimbus OutletContext not being updated with client data #1590
Conversation
For some weird reason, useRouteLoaderData in the root.tsx App function does not receive/update its data when clientLoader is loaded. Changing to useLoaderData instead seems to fix the issue.
WalkthroughThe root loader data retrieval in Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1590 +/- ##
======================================
Coverage 9.89% 9.89%
======================================
Files 308 308
Lines 22497 22497
Branches 404 404
======================================
Hits 2225 2225
Misses 20272 20272 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How much time did you spend on trying to understand why useRouteLoaderData doesn't work? I.e. do you know what's the difference between the two approaches and how does the change affect the app aside from fixing this particular issue?
|
Kind of does what it says on the tin though? |

For some weird reason, useRouteLoaderData in the root.tsx App function does not receive/update its
data when clientLoader is loaded. Changing to useLoaderData instead
seems to fix the issue.