I'll try to play around with error boundary and see if it may help.
Thanks anyway!
My only concern - it's super easy to fall into similar case and gives an impression of a fragile app 😬
I'll try to play around with error boundary and see if it may help.
Thanks anyway!
My only concern - it's super easy to fall into similar case and gives an impression of a fragile app 😬
I created a dummy example here - codesandbox.io/p/sandbox/wn...
You can uncomment a line that throws in `src/query/useGetData` to see the issue (need to reload the preview due to staleTime)
I created a dummy example here - codesandbox.io/p/sandbox/wn...
You can uncomment a line that throws in `src/query/useGetData` to see the issue (need to reload the preview due to staleTime)
Very much appreciated 😊
Very much appreciated 😊
Fixed with prop drilling but it doesn't feel very good to me...
Fixed with prop drilling but it doesn't feel very good to me...