Skip to content

Official React Router v7 toolkit #145

@ramiroazar

Description

@ramiroazar

Is your feature request related to a problem? Please describe.

This toolkit is great, we use it on all our Hydrogen projects that use Sanity.

However, we also use Sanity with React Router v7 and Cloudflare Workers, but without Hydrogen.

We're surprised that Sanity has official toolkits for Next.js and especially Hydrogen, but not React Router v7?

Hydrogen uses React Router v7 and Oxygen uses Cloudflare Workers.

We can confirm this toolkit works well with React Router v7 and Cloudflare Workers.

It seems unnecessary that we currently have to choose between manually implementing Sanity on our projects or pulling in Hydrogen as a dependency to benefit from this toolkit.

Describe the solution you'd like

We would like to see majority of this toolkit become an official React Router v7 toolkit and for this existing Hydrogen toolkit to use it as a dependency where appropriate.

Describe alternatives you've considered

There's some official guides around implementing a Sanity client with Visual Editing.

https://www.sanity.io/docs/visual-editing/visual-editing-with-react-router
https://www.sanity.io/guides/remix-run-live-preview

We've considered manually going through this process for each project or using this Hydrogen toolkit instead.

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