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

Zustand selectors

Why is it worth using selectors in Zustand?

Answer options

  • They are required by the library
  • The component only re-renders when the selected value changes
  • They speed up writing to the store
  • There is no difference

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