arttuka / reagent-material-ui

Reagent wrapper for MUI (formerly Material UI) v5
Eclipse Public License 2.0
203 stars 18 forks source link

Pure shadow-cljs / npm without CLJSJS? #2

Closed rberger closed 4 years ago

rberger commented 4 years ago

This looks like an exciting project. But I don't understand what's up with the requirement for thheller/shadow-cljsjs and the wrapper in /example/src/shadow-cljs/example/main.cljs.

My project already includes react and react-dom via shadow-cljs / npm. Is the cljsjs stuff the only way to make it work?

Thanks!

manuel-uberti commented 4 years ago

Any news on this? :)

arttuka commented 4 years ago

Sorry for the slow response, I haven’t had any time for this in the past months.

I had the assumption that Reagent and other libraries relied on the cljsjs React package. Now that I researched further, I was incorrect and this issue has been fixed in reagent-material-ui version 4.11.0-1. The example project has also been updated.