Fork me on GitHub
#cljsrn
<
2020-05-23
>
bhauman02:05:12

@raspasov cool I may hit you up for some feedback, I’ve published some changes so that the bridge now supports expo and the new clojurescript :bundle target makes things much simpler, I “may” be able to fold it all into figwheel-main pretty simply

👍 4
raspasov03:05:00

@bhauman merging into figwheel-main sounds great as long as it doesn’t create much complexity for you; I don’t mind the setup as it is; I don’t use expo myself but glad to provide any feedback!

bhauman14:05:31

I updated react-native-figwheel-bridge so that it supports expo better.

bhauman14:05:12

The readme has been updated to explain how to use it with the new CLJS :bundle target. The README now includes some instructions for setting up expo as well.

bhauman14:05:29

Much closer to direct figwheel-main support

raspasov18:05:12

@bhauman thank you! I’ll try migrating my current project from the old cljsExports method to :bundle and report here

raspasov18:05:52

So from my undestanding: the ClojureScript compiler scans the project source files, creates npm_deps.js and that npm_deps.js is practically equivalent to the old cljsExports in its purpose. Is that about right?

bhauman19:05:46

I also think there is some externs magic as well

raspasov22:05:49

@bhauman It seems to work! No issues so far