cljsrn

greg 2025-02-05T00:06:36.855109Z

Anyone tried to use expo-router with ClojureScript?

greg 2025-02-05T16:27:29.630339Z

Expo-router looks like a framework approach: • certain convention is required: _layout files • expo-router has to be the entry to the whole app Expo probably scans for files in the given directory and models the navigation based on what finds. Since we don't have 1:1 compilation from CLJS to JS, we are not able to produce files it needs. On the other hand, I could provide these layout files in JS, and change the entry to the whole app to JS file, but then probably I would probably need to change shadowcljs target from :react-native to some lib target