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

Zustand create

How do you create a store in Zustand?

Answer options

  • new Store()
  • createStore()
  • create((set) => ({...}))
  • useStore.create()

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