React phoenix integration - add it to my phoenix project or keep react in a separate server?

If You use --no-html --no-webpack on backend side, You don’t have templates, page_controller…

But You can still use plug static.

On the frontend, You can use webpack, webpack dev server, html webpack plugin, mini css extract plugin.

=> You build a static index.html (with just a div to mount react), but powered by app.js (which contains all frontend stuff) and styled by app.css
=> frontend communicate with json api with fetch, or axios, and with websocket with phoenix.js