Fork me on GitHub
Michael Jung11:05:27

If I understand correctly, index.js should be replaced. But this doesn’t seem to happen for me…

Emi Gal13:05:56

After a few days of figuring out how to easily bootstrap a fully wired react native - expo - shadow-cljs app, I stumbled upon this amazing npm / yarn command: by @jgoodhcg. It just works + brings in tailwind css into react native, which makes prototyping a breeze. Hope others find it useful as well.

❤️ 3
metal 12
Michael Jung18:05:56

For reference: I was able to solve my issue. Instead of directly running

clj -M -m krell.main -co build.edn -c -r
I had to run
clj -M -m krell.main -co build.edn -c
first to get an initial compilation.


@laynor you cannot dynamically add Node deps because of the way node libs work


React Native is not Node - it must been known by Metro


if your Node deps change you do need a REPL restart at the moment


this could be improved so at most you need a Metro refresh - but haven't got around to it - mostly because it's really not that big of a deal for actual app dev