Hey - so I think the key question here is - how important is SEO to your site?
Hubspot at the moment - is fairly easy to built a React application on. The problem you’re going to encounter, primarily sits with making your website search engine friendly.
Google, can crawl react applications. However, at scale this is a pretty heavy task and quickly consumes your websites ‘crawl budget’, this results in partially crawled sites/outdated search results.
@dennisedson has linked to the react boilerplate which will allow you to put together a fully functional application using the HS platform. This is great for putting together a modular React website.
To “solve” the SEO/Open Graph problem:
While not supported directly by Hubspot - a common solution is to use a service to serve a rendered version of your site to Search engines. This is a bit more complex, and requires CMS Enteprise for the reverse proxy support. The steps are roughly:
0. Setup a Cloudfront CDN distribution and Configure Hubspot Reverse Proxy
1. Disable caching on Host and X-Is-Bot headers.
2. Setup a Viewer Request lambda@edge fn, with a check on the User-Agent - if this matches a search engine, set the X-Is-Bot header to 1
3. Setup a Origin Request lambda@edge which which checks to see if X-Is-Bot is set to 1, if it is change the origin to your render server (prerender.io is fairly popular)
When a bot first crawls your homepage, the request will be opaquely sent to prerender.io. This service essentially loads your site in a Headless browser and responds with the rendered HTML. Cloudfront will then take this rendered HTML, cache it and serve it to the bot.
Regular users will be straight to Hubspot.
Resources: