TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What Hooks Mean for Vue

49 pointsby jsdev93over 6 years ago

1 comment

zengidover 6 years ago
<i>This led me to ranting drunkenly at Dan Abramov, and nobody wants that.</i><p>I wish I was at that party.. But seriously, do hooks allow for components to act more like state machines? I&#x27;m gathering that from this:<p><i>Hooks achieve what mixins do, but avoid two main problems that come with mixins:<p><pre><code> -They allows us to pass state from one to the other. -They make it explicit where logic is coming from. *</code></pre>
评论 #19130243 未加载