day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
631 stars 68 forks source link

Show context menus at the mouse position & don't cache renders #397

Closed kimo-k closed 11 months ago

kimo-k commented 1 year ago

Added mouse-offset parameters. Now, the menu appears at the exact mouse position.

I'm not sure what the importance of popup-menus is. Maybe it's just a kind of render memoization, build-popup doesn't seem expensive enough to justify it.

Removed this pattern. Such memoization doesn't really work here, since the new mouse-offset tends to be a different value every time.

https://github.com/day8/re-frame-10x/issues/348