From 577878c7f9e1bdeb5d7483a9069cb4af7cb17d28 Mon Sep 17 00:00:00 2001 From: Tony Kay Date: Sat, 4 Nov 2023 11:11:57 -0700 Subject: [PATCH] Allow force refresh in release builds. This is needed by i18n change locale. --- src/main/com/fulcrologic/fulcro/components.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/com/fulcrologic/fulcro/components.cljc b/src/main/com/fulcrologic/fulcro/components.cljc index 19b9dc9b..3f4e3344 100644 --- a/src/main/com/fulcrologic/fulcro/components.cljc +++ b/src/main/com/fulcrologic/fulcro/components.cljc @@ -295,7 +295,7 @@ (should-component-update? [raw-next-props raw-next-state] #?(:clj true - :cljs (if (and goog.DEBUG (force-refresh?)) + :cljs (if (force-refresh?) true (this-as this (let [current-props (props this)