Cache computation results
pocka opened this issue · comments
Shota FUJI commented
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.