We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rum version: 0.12.3 react & react-dom version: 17.0.2
(defonce the-count (atom 0)) (rum/defc counter < rum/reactive { :did-mount (fn [] (println "did mount")) :should-update (fn [old new] ((println "should-update") true))} [] [:div {:on-click (fn [_] (swap! the-count inc))} "Clicks: " (rum/react the-count)]) (defn start [] (rum/mount (counter) js/document.body))
should-update does not run and the error in console:
should-update
helpers.js:92 Uncaught TypeError: Cannot read property 'forceUpdate' of null at eval (core.cljs:377)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hot to reproduce
rum version: 0.12.3
react & react-dom version: 17.0.2
should-update
does not run and the error in console:The text was updated successfully, but these errors were encountered: