from Hacker News

Ask HN: Often have you had to re-write a legacy front end application

by mohanarpit on 3/11/19, 5:40 AM with 3 comments

How often have you needed to modernize a legacy frontend application and re-build them using a more modern technology/framework like React/Angular etc.?

At my current job, I have to migrate a JQuery dashboard to React. I was wondering what other people's experience has been in this regard.

What were some of the pitfalls that I should look out for?

If you ever had to do it, what was the most painful part of this migration?

  • by cimmanom on 3/11/19, 1:23 PM

    OT: the automatic removal of “how” from the beginning of titles is not exactly working out so well.
  • by dyeje on 3/11/19, 2:06 PM

    It's a fairly common task in my experience. Focus on converting one component at a time and it should go smoothly. Don't try to do a complete rewrite at once.
  • by ezekg on 3/12/19, 10:44 PM

    Using React, an incremental re-write is pretty easy, since it can be plugged in for certain components as they become available. Slowly re-write components in React as you modify them, and always write new components in React. Not sure about Vue, but I believe it's the same.