Skip to content

Is is possible to create a hybrid page (combined static and client route) (the app-shell model) rather than a hybrid app (client-only route) #3451

@dominicfallows

Description

@dominicfallows

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions