Since Notifications API does not fit into Respo's declarative pattern, I have to use mutable states to pop notifications. So, be special...
[respo/notifier "0.1.2"]
(require '[notifier.comp.notifications :refer [nofity!]])
(def notifications {
"q42342" {:title "title demo"
:body "body demo"
:icon "icon url demo"
:id "q42342"}
})
; rerender on every change to detect new ids
(notify! notifications)
Workflow https://github.com/mvc-works/calcit-workflow
MIT
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close