Skip to content

Is it fine to use the function ( setup ) style? #760

Discussion options

You must be logged in to vote

It's the same as Options API vs Composition API. Use whatever fits your need the best!

There are minor differences in:

  • Devtools: Options Stores can group changes per actions while Setup Stores cannot
  • Hydration: hydrate() vs skipHydration()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matthiashermsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants