Skip to content

Support for serverside environments #21

Description

@ItsRealmy

Not sure if this is the best place to make a feature request, but here goes:

I love the simplicity of this package, this is exactly how routing should be. However, due to the use of the document variable somewhere in the code, I'm not able to render any component with this router on the server (using Component.render()).

Could there be a way to pass a url prop to the router in order to make it work on the server, similarly to how svelte-routing does it?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions