3 ms·
Vue has better DX. In comparison to react hooks: 1. Vue has automatic dependency detection 2. Vue’ composables can be used outside of vue component 3. Do not
by rk06 5y ago
Vue has better DX. In comparison to react hooks:
1. Vue has automatic dependency detection
2. Vue’ composables can be used outside of vue component
3. Do not suffer from over rendering or stale closure
And that is just hooks. Vue also has first party router(vue router) and state management (pinia). Along with awesome devtools, which allow any vue library to hook into it.
- graftak 5y agoReact has typed templates with way less syntax (dsl) overhead with magic props nor a magic reactivity/plugin system. Then there’s many well thought out and useful features like portals, suspense, (async state) transitions, error boundaries, server components that vue just does not offer.