DEV Community

Discussion on: React or Vue or Something New?

Collapse
 
ozanmuyes profile image
Ozan Müyesseroğlu

Actually there are functional components in Vue. The document says

Since functional components are just functions, they’re much cheaper to render.
(snip)
They’re also very useful as wrapper components. For example, when you need to:

  • Programmatically choose one of several other components to delegate to
  • Manipulate children, props, or data before passing them on to a child component