Playground initial tech concept.
By default every page is server side rendered (SSG)
- About page is a regular page route with only client side react:
use clientdirective. - SSR-Datafetch page is a single page built with data fetched from the CMS (directus) at run time by the backend, and then served to the client.
- Client Side Data Fetch (API Endpoint) fetched data from the CMS (directus) at run time, but using an API endpoint.
- True SSG page shows how to statically generate pages from a graphql query.
- Directus SDK test page. This could be used instead of REST/GRAPHQL APIs