I've been working with Gatsby now for a couple of weeks, merging several different React Apps into one Gatsby React app - so far so good - its great and we are already seeing the benefits.
A use case has come up whereby we are looking to have a hybrid page (static and client route). I can see documentation and examples for creating a hybrid app with client-only routes, however, I'm looking at being able to do the following:
A single static and client route that can have:
- statically generated app shell - that uses a GraphQL query from a Drupal (or any other) source that creates header, menus, sidebars, CSS etc
- dynamic URL route
- dynamic content via a client-side API request (React componentDidMount API request)
I'm ploughing on ahead to hopefully get a sample app to test, but thought I would ask here also.
Much thanks in advance.