What is Vue?
- Front-end Javascript or TypeScript framework
- Used to create dynamic & data-driven websites (SPAs)
- Can also be used to create stand-alone widgets
Vue 3 New Features
As compared with Vue 2, new features are:
- Composition API
- Improves on reusability,organization & readability
- a new setup( ) function
- Multipole Root Elements
- Teleport Component
- Render content from one component in a different place in the DOM
- Useful for things like modals
- Suspense Component
- handle asynchronous components
- provide fall-back content (e.g. a spinner) until data is loaded
- TypeScript Support
- Multiple v-models for custom components
- Improved reactivity
- Performance gain
