Import module to CLojureScript #170
-
Hello everyone, I have a problem when trying to import this module in ClojureScript: (:require
[reagent.core :as r]
[re-frame.core :as re-frame]
[tw-elements-react :refer [TERipple]]) results in
Does someone know what Im doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @SergejGleithmann, we can't help you with it because we don't have enough experience with CLojureScript. Maybe someone from the community will help you with this problem. |
Beta Was this translation helpful? Give feedback.
-
I have found the solution on StackOverflow. tl;dr When using shadow-cljs you need to use version |
Beta Was this translation helpful? Give feedback.
I have found the solution on StackOverflow.
tl;dr When using shadow-cljs you need to use version
^2.26.6
. Furthermore you need to upgrade react to version^18.0.0
. This will allow dynamic imports.