Brandon Pittman
Brandon Pittman
CDCloudflare Developers
Created by Brandon Pittman on 4/9/2024 in #pages-help
Setting up bindings for KV and Qwik
@jculveyhouse It totally works. My mental model was wrong. I was expecting to see data from the CF dashboard locally.
11 replies
CDCloudflare Developers
Created by Brandon Pittman on 4/9/2024 in #pages-help
Setting up bindings for KV and Qwik
When I run the wrangler dev command and interact with the KV, I'm not interacting with the same KV on the web, am I? 🤦‍♂️
11 replies
CDCloudflare Developers
Created by Brandon Pittman on 4/9/2024 in #pages-help
Setting up bindings for KV and Qwik
The namespace ID on the CF dashboard matches the ID that npx wrangler kv:namespace list outputs too.
11 replies
CDCloudflare Developers
Created by Brandon Pittman on 4/9/2024 in #pages-help
Setting up bindings for KV and Qwik
While the onGet you shared shows this in the browser:
{"counter":10,"success":true,"foo":null}
{"counter":10,"success":true,"foo":null}
11 replies
CDCloudflare Developers
Created by Brandon Pittman on 4/9/2024 in #pages-help
Setting up bindings for KV and Qwik
No description
11 replies
CDCloudflare Developers
Created by Brandon Pittman on 4/9/2024 in #pages-help
Setting up bindings for KV and Qwik
@jculveyhouse Thanks for the response! Your example worked in my existing app. I checked my dashboard in Cloudflare after and couldn't find the count value in my KV namespace though. I'm not sure where the data is actually being saved. 🤔
11 replies