Closed ameer2468 closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
is CI job relevant here?
is CI job relevant here?
I just fixed the test after running it locally. Also finally fixed the annoying warning message that you would see on initial render in onboarding and in the app.
is CI job relevant here?
I just fixed the test after running it locally. Also finally fixed the annoying warning message that you would see on initial render in onboarding and in the app.
How? What was it lol
I am not a fan of these multiple useEffects to be honest, those functions are supposed to only run once on the app start but that might not be the case here
is CI job relevant here?
I just fixed the test after running it locally. Also finally fixed the annoying warning message that you would see on initial render in onboarding and in the app.
How? What was it lol
I am not a fan of these multiple useEffects to be honest, those functions are supposed to only run once on the app start but that might not be the case here
That's what the warning was about. You cannot run that code during the initialization of the App. The reason is it should only be run when buildInfo data is present. It's to prevent it from running during the rendering phase, and therefore they should be in a useEffect.
In that case, there's no harm in using effects, as that's what it should have been in the start.
This PR does the following:
Notes:
There's currently issues with the Watcher which I believe Arnab is working on, some updates are not being reflected correctly.