/plushcap/analysis/deepgram/diving-into-vue-3-reusability-with-composables

Diving Into Vue 3 - Reusability with Composables

What's this blog post about?

In the final post of her 'Diving Into Vue 3' series, Sandra Rodgers demonstrates how to use the Composition API to write reusable code. She builds a single-file component with an image on the left and text on the right that changes size based on the image being resized. The post covers topics such as working with the DOM, using lifecycle methods, template refs, and creating composables for reusability. Rodgers also provides a link to her GitHub repository containing various branches showcasing the progression of the project's refactoring process.

Company
Deepgram

Date published
Feb. 25, 2022

Author(s)
Sandra Rodgers

Word count
2860

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.