cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
bhauman 2020-05-23T02:16:12.163300Z

@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

👍 1
raspasov 2020-05-23T03:19:00.165100Z

@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!

bhauman 2020-05-23T14:40:31.166100Z

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

bhauman 2020-05-23T14:42:12.167600Z

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.

bhauman 2020-05-23T14:43:29.168600Z

Much closer to direct figwheel-main support

bhauman 2020-05-23T14:44:09.169100Z

@raspasov @emilien ^

raspasov 2020-05-23T18:22:12.170200Z

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

bhauman 2020-05-23T18:22:29.170400Z

@raspasov awesome!

raspasov 2020-05-23T18:25:52.172500Z

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?

bhauman 2020-05-23T19:06:23.172700Z

@raspasov you got it

bhauman 2020-05-23T19:06:46.173100Z

I also think there is some externs magic as well

raspasov 2020-05-23T22:40:49.173600Z

@bhauman It seems to work! No issues so far