Skip to content

Commit 60416ed

Browse files
Update remote binding connections description and table (cloudflare#25270)
* Update remote binding connections description and table Clarified the description of remote binding connections and added a footnote for Durable Objects. Updated the table to include footnote reference. * Fix formatting of remote binding connections section * Update src/content/partials/workers/bindings_per_env.mdx Co-authored-by: lrapoport-cf <[email protected]> --------- Co-authored-by: lrapoport-cf <[email protected]>
1 parent 4b181f4 commit 60416ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/content/partials/workers/bindings_per_env.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
**Local simulations**: During local development, your Worker code always executes locally and bindings connect to locally simulated resources [by default](/workers/development-testing/#remote-bindings). This is supported in [`wrangler dev`](/workers/wrangler/commands/#dev) and the [Cloudflare Vite plugin](/workers/vite-plugin/).
88

9-
**Remote binding connections:**: Allows you to connect to remote, deployed resources on a per-binding basis. Supported in [`wrangler dev --x-remote-bindings`](/workers/development-testing/#using-wrangler-with-remote-bindings) and the [Cloudflare Vite plugin](/workers/development-testing/#using-vite-with-remote-bindings).
9+
**Remote binding connections:**: Allows you to connect to remote resources on a [per-binding basis](/workers/development-testing/#remote-bindings). This is supported in [`wrangler dev`](/workers/wrangler/commands/#dev) and the [Cloudflare Vite plugin](/workers/vite-plugin/).
1010

1111
| Binding | Local simulations | Remote binding connections |
1212
| --------------------------------------- | :---------------: | :------------------------: |
@@ -15,7 +15,7 @@
1515
| **Analytics Engine** |||
1616
| **Browser Rendering** |||
1717
| **D1** |||
18-
| **Durable Objects** |||
18+
| **Durable Objects** ||[^1] |
1919
| **Containers** |||
2020
| **Email Bindings** |||
2121
| **Hyperdrive** |||
@@ -29,6 +29,8 @@
2929
| **Vectorize** |||
3030
| **Workflows** |||
3131

32+
[^1]: Refer to [Using remote resources with Durable Objects and Workflows](/workers/development-testing/#using-remote-resources-with-durable-objects-and-workflows) for recommended workarounds.
33+
3234
## Remote development
3335

3436
During remote development, all of your Worker code is uploaded and executed on Cloudflare's infrastructure, and bindings always connect to remote resources. **We recommend using local development with remote binding connections instead** for faster iteration and debugging.

0 commit comments

Comments
 (0)