Fork me on GitHub
#shadow-cljs
<
2021-10-03
>
Donnie West22:10:14

Anyone using Preact and specifically using prefresh with shadow-cljs? Curious how difficult a setup it would be

Donnie West23:10:52

Looking into this deeper, shadow-cljs doesn't support it out of the box. Attempting to use it with preact-cli just makes local dev slow I've not looked too deep into the internals of shadow-cljs: how hard would it be to add support? I assume there's some sort of check for react to inject react-fast-refresh so I should just implement the same and shoot over a pr?

huygn01:10:09

you can check #helix 's fast refresh impl

Donnie West04:10:33

Duh, should've checked there first. Seems easy enough to translate to Preact. Thanks!

👌 1