-
React 18 + Next 13 + RTK Query is being used. In our project, we initialize the global data as below.
However, after a long time running the project, the data was not included in the redux, so I refreshed Browser Cache and it was executed normally. When I searched, I found the above phrase in the two links below.
But I didn't know the exact reason, so I asked this question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, it's not related to the browser cache. It's an in-memory cache that holds onto your data so you don't need to refetch data everytime your component rerenders. |
Beta Was this translation helpful? Give feedback.
No, it's not related to the browser cache. It's an in-memory cache that holds onto your data so you don't need to refetch data everytime your component rerenders.