Skip to content

ssr based on spa and backup #23

@elycheikhsmail

Description

@elycheikhsmail

we can build spa using react react-router and packup. if is possible to create function named "render" that take pathname as input and return html string, we can use std/http (or oak ...) to read pathname in the incoming request then call render function and return html response.
render function will be generated based on router at build time.
if this possible to generate this "render" we can build universal app on top of spa and packup in easy way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions