Fork me on GitHub
#rum
<
2017-06-22
>
kurt-o-sys19:06:10

I'm using rum with re-natal/cljsrn. In RN 0.45, isMounted is deprecated: Warning: ...: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks but rum is using that method to (re-)render the components.

(defn- render-all [queue]
  (doseq [comp queue
          :when (.isMounted comp)]
(.forceUpdate comp)))
Is there a way to fix this properly?