jackschaedler / goya

Pixel art editor built on Clojurescript + Om

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move contents of guistate/transient-state atom into component local state

jackschaedler opened this issue · comments

Last night when talking to the folks at Hacker School, I realized how nasty it is to have this atom living outside of any component local state. The original reason I placed it here was to avoid performance problems when re-rendering on changes to the mouse-pos. Need to re-evaluate if this is a performance problem or just something screwy with my code.