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
thomas 2020-09-18T17:23:08.001200Z

I have just started a new `expo-cljs-template` project and I am getting this error: Unable to resolve "WebSocket" from "js/figwheel-bridge.js" any idea what could be going wrong. I did update the Expo client to 38.0.0.

2020-09-18T18:12:02.002300Z

@thomas How did you upgrade Expo? Did you go incrementally ?

thomas 2020-09-18T18:16:16.003200Z

no, I just bumped up the versions in app.json and package.json

2020-09-18T18:21:53.005500Z

OK. Expo recommanded to uprading incrementally as you can see on this page: https://docs.expo.io/workflow/upgrading-expo-sdk-walkthrough/ I just tried lein new expo you-project +reagent , then expo update 35.0.0 and the project run for me.

2020-09-18T18:23:53.006400Z

Since Expo v35, you can see the file app.json change little bit...there is no more "sdkVersion" line.

thomas 2020-09-18T18:24:19.006800Z

cool thanks. I'll try that

2020-09-18T18:29:02.008900Z

Since the template is outdated, now I would recommanded to using fighweel-main or shadow-cljs: • Figwheel-main docs: https://figwheel.org/docs/react-native.html • Shadow-CLJS example repo: https://github.com/thheller/reagent-expo

2020-09-18T18:33:08.010200Z

Another repo for with Shadow-CLJS, Reagent + Re-frame: https://github.com/PEZ/rn-rf-shadow