Skip to content

Commit d2ae2db

Browse files
committed
updates local-data.mdx
1 parent f302af4 commit d2ae2db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/docs/workers/local-development/local-data.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ You may also include [other metadata](/workers/wrangler/commands/#r2-object-put)
8282

8383
### Durable Objects
8484

85-
For Durable Objects, unlike KV, D1, and R2, there are no CLI commands to populate them with test data. To add data to Durable Objects during local development, you must write application code that creates Durable Object instances and [calls methods on them that store state](/durable-objects/best-practices/access-durable-objects-storage/). This typically involves creating development endpoints or test routes that initialize your Durable Objects with the desired data.
85+
For Durable Objects, unlike KV, D1, and R2, there are no CLI commands to populate them with local data. To add data to Durable Objects during local development, you must write application code that creates Durable Object instances and [calls methods on them that store state](/durable-objects/best-practices/access-durable-objects-storage/). This typically involves creating development endpoints or test routes that initialize your Durable Objects with the desired data.
8686

8787
## Where local data gets stored
8888

@@ -151,4 +151,3 @@ export default defineConfig({
151151
#### Sharing state between tools
152152

153153
If you want Wrangler and the Vite plugin to share the same state, configure them to use the same persistence path.
154-

0 commit comments

Comments
 (0)