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.
@thomas How did you upgrade Expo? Did you go incrementally ?
no, I just bumped up the versions in app.json
and package.json
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.
Since Expo v35, you can see the file app.json change little bit...there is no more "sdkVersion" line.
cool thanks. I'll try that
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
Another repo for with Shadow-CLJS, Reagent + Re-frame: https://github.com/PEZ/rn-rf-shadow