Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.
This repository was archived by the owner on May 20, 2021. It is now read-only.

add a way for redirects to work with server-rendering #10

Open

Description

@alid-code-archives

it seems that redirects are only handled programmatically, but it would be great to provide a way that makes component-level redirects compatible with server-rendering

react-router does via it's Redirect component, and using the context prop to find out what the result of the rendering was (see: https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/docs/guides/server-rendering.md)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions