
Vitest and VueUse with Anthony Fu
PodRocket - A web development podcast from LogRocket
00:00
How to Use a View?
view use is to providing a collection of tools or utilities arounding with the views o reactivity. For example, like when you want to have a components and you want to listen to something, for example, maybe you want to listening to deposition of your mouse. With view use, we can provide a utility called use event lisener which will register events and get it reactive. And at that times when you don't er whel when you can finish the task you want to ha haveinHavein othe page that you dont need. You don't need the event any more. But you have to remember that you need to unregister using removing venlesener, otherwise it will
Transcript
Play full episode