An Introduction to Vue 3 and Typescript: Functional components, attributes, and slots
After getting a grip on reactivity and component communication, let's look at what basic features remain. Take slots and attributes. We use them mostly in templates. But what if you must access them in your script? Say, to write a functional component?
Functional components
The official docs recommend using HTML