Comment by yoyo930021
4 days ago
You’re absolutely right — I haven’t found a good way to make the DOM update at a fine-grained level yet.
However, I still believe this framework has value, mainly for the following reasons:
1. The setup function behaves just like in Vue 3 — it runs only once. This helps avoid the mental overhead found in React’s re-renders.
2. Dependency tracking is fully automatic, eliminating the pain of manually managing dependencies as in React or flutter_hooks.
3. By providing a Composition or Hook-style API, it introduces a new way to organize and structure code in Flutter.
4. While fine-grained DOM updates aren’t possible, a ComputedBuilder is provided, allowing developers to easily control the scope of updates when needed.
No comments yet
Contribute on Hacker News ↗