Closed dvingo closed 1 year ago
Thanks @thheller ! updated per your feedback : )
n part you can just call the above function instead of repeating the code.
ah of course - updated
This is really well though though, implemented and documented 🙇
Fixes https://github.com/metosin/malli/issues/828
After lots of help from Thomas Heller here I was able to put together a much simpler dev experience for cljs.
This PR adds kondo config and updates the docs with Thomas' recommended setup using a preload and namespace ordering by the compiler to ensure your function schemas are up to date when
malli.dev.cljs/start!
is evaluated at compile-time.I updated the kondo
save!
function to emit to a different location for clj and cljs schemas so you can seamlessly use both during development. Let me know if you have any concerns or feedback about that .