Skip to content

Commit

Permalink
Make render-queue def regular so deftype changes don't require reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Deraen committed Nov 28, 2024
1 parent 53d6cc9 commit c9f7317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reagent/impl/batching.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
(.flush-render this)
(.flush-after-render this)))

(defonce render-queue (->RenderQueue false))
(def render-queue (->RenderQueue false))

(defn flush []
(.flush-queues render-queue))
Expand Down

0 comments on commit c9f7317

Please sign in to comment.