It will make it much easier for us to keep our main app seperated from our content site in hubspot, or if you guys got any other possible solutions that I’m overlooking that be great!
That being said, it is quite easy to use a React app inside a HubSpot website page, so you could also use a HubSpot website page and create a custom module where you load your app:
Index.js:
import { h, render } from 'preact';
import App from './containers/App';
// Tell Babel to transform JSX into h() calls:
/** @jsx h */
const container = document.getElementById('js-jobs');
if (container) {
render(
<App />,
container,
);
}