That said I've personally decided to combine my app and website on the same domain using Gatsby. Gatsby is a static site generator that uses react and you can use it to create both static pages and a react app. See: https://www.gatsbyjs.com/docs/adding-app-and-website-functionality/
Basically Gatsby serves as both a static site generator as well as a replacement for CRA. It's not the easiest setup to do – you have to worry about things that work on client-side but not server-side. But so far, I'm liking it a lot.
There are a lot of good reasons to put your app on a subdomain as discussed here: https://twitter.com/tylertringas/status/1250521285630836741. I think that is what most people do.
That said I've personally decided to combine my app and website on the same domain using Gatsby. Gatsby is a static site generator that uses react and you can use it to create both static pages and a react app. See: https://www.gatsbyjs.com/docs/adding-app-and-website-functionality/
Basically Gatsby serves as both a static site generator as well as a replacement for CRA. It's not the easiest setup to do – you have to worry about things that work on client-side but not server-side. But so far, I'm liking it a lot.
Just wrap the html page into a React component?
I would host them separately especially if you're using CRA.
https://versoly.com/ is hosted on Versoly (S3 AWS) and https://app.versoly.com is hosted on Netlify
So if I purchase the domain from Namecheap, can I extend it to both Versoly & Netlify?
Yes, I would actually move the https://dev.to/easybuoy/setting-up-domain-with-namecheap-netlify-1a4d
Ok thanks. Cool how your example solved my problem as well lol
Versoly looks awesome man. Thank you!
Thanks :)