Skip to content

Commit

Permalink
Changing heading names for style guide consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxyjun committed Aug 21, 2024
1 parent a073481 commit 0011f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/docs/kv/concepts/kv-bindings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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`.

Expand All @@ -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).

Expand Down

0 comments on commit 0011f72

Please sign in to comment.