agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create proxy based hook which optimizes the rerender count

bennoinbeta opened this issue Β· comments

commented

πŸ†• Feature Request

Build a hook which wraps a proxy around the passed objects and tracks the used properties.
Only if a used property mutates the Component should rerender!

Something similar to:
https://github.com/avkonst/hookstate/blob/master/src/index.ts
but in a hook for AgileTs

commented

resolved in #131