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

Zustand persist

What is the persist middleware in Zustand used for?

Answer options

  • For logging actions
  • For automatically saving state in storage
  • For state validation
  • For debugging

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