Skip to content

Static Site Generation (SSG) Brainstorming #1379

@philip-peterson

Description

@philip-peterson

I wanted to get the ball rolling on thoughts regarding SSG, or Static Site Generation. I feel this will be the first step to supporting isomorphic apps, and double as a nice interface for using SSR. Also, I believe isomorphism can be wholly contained within the SSG paradigm to form one consistent interface.

To kick us off, I started a simple skeleton that represents how an SSG app within Yew would be laid out. The notion of pages as dynamically generated is built from what Gatsby learned with its node-based tree generation. In principle, any user-defined sequence of operations including plugins or other toolkits could generate these pages.

Will be continuing with research over the next months, but would love to hear feedback and suggestions for how this feature can work.

https://github.com/philip-peterson/yew-ssg/tree/master/src

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions