diff --git a/src/content/docs/kv/concepts/kv-bindings.mdx b/src/content/docs/kv/concepts/kv-bindings.mdx index 8ce90a131fe530..d378763836bd6d 100644 --- a/src/content/docs/kv/concepts/kv-bindings.mdx +++ b/src/content/docs/kv/concepts/kv-bindings.mdx @@ -10,7 +10,7 @@ KV [bindings](/workers/runtime-apis/bindings/) allow for communication between a Configure KV bindings in the [wrangler.toml file](/workers/wrangler/configuration/#configure-wranglertoml). -## Referencing KV from Workers +## Reference KV from Workers A [KV namespace](/kv/concepts/kv-namespaces/) is a key-value database replicated to Cloudflare's global network. @@ -49,7 +49,7 @@ export default { }; ``` -## Using KV binding when developing locally +## Use KV bindings when developing locally When you use Wrangler to develop locally with the `wrangler dev` command, Wrangler will default to using a local version of KV to avoid interfering with any of your live production data in KV. This means that reading keys that you have not written locally will return `null`. @@ -68,7 +68,7 @@ kv_namespaces = [ ] ``` -## Referencing KV from Durable Objects and Workers using ES modules format +## Reference KV from Durable Objects and Workers using ES modules format [Durable Objects](/durable-objects/) use ES modules format. Instead of a global variable, bindings are available as properties of the `env` parameter [passed to the constructor](/durable-objects/get-started/#3-write-a-class-to-define-a-durable-object).