Hi, I've read that #js tagged literal breaking fast refresh issue had been fixed but I'm still getting this problem.
(hooks/use-effect []
#js {:yo "sup"} ; breaks fast refresh
(clj->js {:yo "sup"}) ;ok
)how does it break fast refresh?
(defnc test-page [_]
(let [[state set-state] (hooks/use-state 0)]
(hooks/use-effect :once
;#js {:hi "hi"}
(clj->js {:hi "hi"})
(println "hi"))
(d/div
(d/a state)
(d/button {:on-click #(set-state inc)} "Click me"))))
if i uncomment the #js line then "state" no longer persists when i save the file and shadow-cljs reloads.I've fixed this in master
thanks for the report!