DEV Community

赵亚
赵亚

Posted on

How to remove cumbersome returns in vue3 hooks

Can Vue3 hooks be optimized? Can I cancel the return? I have to write return every time. There are so many variables. Can I omit the return in hooks?

Top comments (0)