Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersβ€’10mo agoβ€’
3 replies
keerth

Durable Objects

Hi,

I want to create react/vite project where I can have a durable object for global store for the counter so if any increases it, it increases a global counter

Steps to reproduce:
1. I created a app using the template avaiable from workers+pages create button- "Vite React Template"

npm create cloudflare@latest -- --template=cloudflare/templates/vite-react-template

2. Once deployed, I wanted to add a binding for a durable object in the settings, this way i have object once I deploy

I'm in setting and I select "+Add Binding" this lets me add the binding but in the list, "Durable Objects" is greyed out as payed

However, when creating templates like the webchat I already get these bindings created

I am doing this on the free plan as a practice project
image.png
image.png
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Durable Objects with SQL Question
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago
How to use Durable Objects in Nextjs?
Cloudflare DevelopersCDCloudflare Developers / general-help
8mo ago
Durable Objects Billing issue. No response from CF
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago
Cloudflare Workers Durable Objects Duration Billing Alert Units
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago