AO Archive: Rendering Legacy Pages inside React

https://spin.atomicobject.com/2019/07/19/legacy-pages-react-component/

This is a blog post I wrote while working at Atomic Object. It explains a strategy for slowly migrating an application’s frontend from Ruby on Rails to React. I wrote the post shortly after implementing the idea for the first time, and good news – the web app is still successfully using the LegacyPage and LegacyView components!

One known caveat is that things can get a little hairy when you use the back button if the legacy pages post forms. I will probably write a follow-up post about how to address this.