Rewrite in Elm?

Based on our experiences introducing Elm at work, I would strongly recommend:

  1. Introducing Elm
  2. Introducing it incrementally

We now have the largest Elm production code base anyone knows of (36,000 LoC of Elm code), and even though we still have plenty of legacy code that hasn’t been ported over to Elm, our code base is so much better than the React-based structure we had before.

New development is faster, maintaining old stuff is easier, and our whole front-end is way more reliable. In over a year, our production Elm code has still never thrown a single runtime exception. (We’d know if it did, because we use Rollbar to log all the runtime exceptions our legacy JS code still throws on a regular basis.)

If you’re curious about our experience and what we learned along the way:

I think if we’d gone for a full rewrite we’d still be using React for everything, and we’d be much worse off for it. :slight_smile:

Also happy to answer questions about our experience, Elm, favorite pizza toppings, etc. :wink: