A demo of the refactorisation of a component with the composition API for the podcast Tech Talks with Santosh.
In the default branch, we use the composition API to extract most of the logic from the component UserTodos
. The withOptionsAPI
branch features the same component, but built this time with the options API.