The cljs-window-observer is a set of JS Window object observer functions for Clojure projects.
It gets data from the JS Window object (such as viewport dimensions) and stores the data in Reagent atoms to make Reagent components rerender when the related data changes.
{:deps {mt-app-kit/cljs-window-observer {:git/url "https://github.com/mt-app-kit/cljs-window-observer"
:sha "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}}}
Check out the latest commit on the release branch.
You can track the changes of the cljs-window-observer library here.
The cljs-window-observer functional documentation is available here.