just use webpack to bundle your code with a thin wrapper of components.
peng wang

Hi peng wang, thanks for your comment. If you are bringing legacy apps into your react-based app, then I think wrapping the component is a perfectly sensible approach. However, I’ve worked on very large and complex apps with their own bespoke build process — webpack simply isn’t an option. The approach I’ve outlined in this article allows us to build all the new code using modern practices and tools but also integrate it with the older codebase.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.