Reading the composition api documentation for Vue 3, I didn't quite understand how the new Composition API works. Could you explain please where data() function has gone and if it is no longer used what to use instead?
Updated 23.10.2021: The documentation in the link has been updated and expanded to include a mention of the data() in the Composition API introduction, so this question is now deprecated.