Has anyone been able to use cloudflare durable objects successfully with react-router 7 in framework mode? #12565
Unanswered
alindsay55661
asked this question in
Q&A
Replies: 1 comment
-
It is possible, but not straightforward. I'm not even sure I got it right! The problems come mostly from the fact that the build is done by Vite, which uses the getPlatformProxy function to interact the with Cloudflare locally... You need to run an instance of your worker separately so Vite can talk to it. Do you use Cloudflare Pages or the new Workers Assets? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Everything I try seems to not allow binding durable objects, at least not in development. I'm pulling my hair out, any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions