pocka / figspec

Unofficial Figma spec viewer: Live Embed Kit - Live + Guides + Inspector

Home Page:https://pocka.github.io/figspec/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cache computation results

pocka opened this issue · comments

Currently, the component computes distance guides and flattens nodes at every render. But component updates happen at every zoom/pan events.

In order to eliminate unnecessary computation, these data should be cached.