I have an old php web application, with very bad code. While a lot of it just has html and ajax calls in the, the wrapper is still php.
I want to develop the new modules in react, and slowly replace the old php modules one by one with react; Instead of doing everything from scratch.
What would be the best way to merge these?
Should I deploy the react modules else where, and embed using ajax calls with
Should I create each react module as a separate app and then do
include('index.html'); in php in each module's
Can someone please just point me to a right direction?