cljfx

https://github.com/cljfx/cljfx
hanyuone 2020-05-18T00:19:32.135700Z

Is there any way to trigger something when *state updates, like displaying a popup?

vlaaad 2020-05-18T06:43:10.135800Z

*state is an atom, you can use add-watch to observe its changes:

(add-watch 
  *state 
  :my-watcher 
  (fn [key ref old new]
    (println new)))