Saturday, 6 July, 2019 UTC


Summary

The Vue team recently opened a RFC describing the function-based component API for the upcoming Vue 3. Like React Hooks, the function-based component API allows developers to encapsulate logic into “composition functions” and reuse that logic to build larger components. The new component API provides better TypeScript type inference support, in ways that the now discarded Class API RFC cannot.
By Bruno Couriol