title: Best way to fetch data from a CMS with React preventing loading time?
body: <p>So I want to use wordpress as CMS to manage the content and React to develop a website for a client.</p>
  <p>I know that using Graphql with Gatsby or Next.js its possible to fetch de CMS content and generate static pages for every item and when the user go to the website it loads instantly without having any loading time. This is perfect but when it comes to deploy the website it has to be on a service like Netlify or similar to trigger a new build whenever the CMS is updated.
  This is a problem because the client wants to use the same hosting service for the CMS and the website.</p>
  <p>Other option is to load all the data when the user visits the site for the first time and save it with Context API. But this can take a long time and it's really bad for user experience...</p>
  <p>So, is the there any way to fetch the data nedded and the user sees the page rendered without having loading time? In order to be able to deploy the static files to the client hosting service together with the wordpress CMS.</p>
  <p>Many thanks in advance, and sry if I couldn't be more explicit.</p>