Is there a way to export create-react-app to a static app that includes all API/DB data?

102 Views Asked by At

I have page X, which has to make DB and API calls taking approximately three seconds. I want to export this as a single page that integrates all of the data that comes in from the network, this means that there is no need to load from DB when displaying this new page.

I have a feeling it has to do with Webpack, or react-static but am not sure. It needs to take the final rendered page, and save that as a page in itself, removing the need for any DB calls.

0

There are 0 best solutions below