Fork me on GitHub

Hi there! I was wondering if there is a common approach to gradually migrate a javascript project to clojurescript


FWIW, I've never heard of any approach other than the most direct one - just converting everything manually, statement by statement, and trying to find higher-level segments that might be expressed in a better way with CLJS.


So no way around, aven if I migrate module for module?


Ah, if by "gradually" you mean having a mixed CLJS and JS project, then yeah, it's possible. If you use JS from CLJS, you just use interop. If you use CLJS from JS, you just export some symbols.