-
Notifications
You must be signed in to change notification settings - Fork 17
Description
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.