Question · React Native course · Module 4: State and API data

staleTime vs gcTime

What does staleTime mean in React Query?

Answer options

  • The time after which data is removed from the cache
  • The time during which data is considered fresh
  • The timeout for a request
  • The time between retries

You can check the correct answer by solving this task in the CodeWorlds game.