3 ms·
It really, really depends on the technology. Moving JavaScript to TypeScript or PHP to Hack is easy by design. The new technology is built specifically to allow
by smt88 11y ago
It really, really depends on the technology. Moving JavaScript to TypeScript or PHP to Hack is easy by design. The new technology is built specifically to allow you to migrate the old technology gradually.
Angular 1 to 2, on the other hand, wasn't designed to be an easy transition. They're very different frameworks.
So to answer your question, I use a new technology that allows gradual transition (when possible), or I use "free" time to do a full rewrite. If I find enough time to make something stable enough to move into production, great; otherwise, I've demonstrated empirically that we don't have enough time to invest in a transition.