-
I'm using
Regard to the above code, that
loading is working and component switch between loading and the main return for the component's UI... but I've question, is there Note, I don't fetch a unique key for this case, I've a drop down with 100 options and I set key like this: Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
you asked the same on stackoverflow, and the answer here will be the same. It's also not react-query specific, because the value for Also, please don't open issues without a minimal codesandbox reproduction, thanks. Moving to discussion. |
Beta Was this translation helpful? Give feedback.
-
@TkDodo |
Beta Was this translation helpful? Give feedback.
@TkDodo
I just checked my code again... I was using a svg file to show loading's animation but apparently React has some problem with showing svg in a conditional format 🤣
I replaced that with a gif file and solved 👌