React Router 7 - Component doesn't render on GitLab CI #12914
Unanswered
ArthurGuez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After upgrading to React Router 7.1.2, one of our tests intermittently fails on GitLab CI (4 times out of 5), but always passes locally.
The test is supposed to check whether the component renders properly, including the header and footer. However, on CI, only is rendered, and adding a fallback component (
HydrateFallback: () => <Loading />
) results in only<Loading />
appearing.The test:
The test failing on the CI:
Could this be a timing issue with loaders in React Router 7?
Is there something missing in how we're handling loaders?
Any insights or suggestions would be greatly appreciated! 🚀
Thanks
Beta Was this translation helpful? Give feedback.
All reactions