Fork me on GitHub
#shadow-cljs
<
2022-05-13
>
rosado11:05:04

What's the state of code splitting/dynamic code loading for shadow-cljs + expo targeting the browser? Is it just not possible at the moment?

thheller14:05:04

no clue what it looks like on the expo side. if it works like in regular react-native than it might work just fine

thheller14:05:43

no clue if this works any different in expo

rosado15:05:56

@thheller chunks do work under expo but only when targeting a device. On the browser, js/require doesn't work, hence my question. We may end up not doing code splitting at all for browsers (not our main target platform anyways)

thheller16:05:20

do you have an example of how its done in expo with js