From 097c4d22dd42924adcfb5184ed91d2617e81fceb Mon Sep 17 00:00:00 2001 From: unadlib Date: Thu, 26 Dec 2024 21:20:03 +0800 Subject: [PATCH] docs(readme): update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca8d76b..7d6d94b 100644 --- a/README.md +++ b/README.md @@ -248,8 +248,8 @@ export const store = create( }); } }), -+ { worker } -); ++ { worker } + ); ``` > If you use TypeScript, then you should be aware of the difference between the two different store types. In the webpage context, it's AsyncStore (because its methods will become asynchronous, and these methods will be proxied to the worker for execution). In the worker context, it's Store. You can see [the reusable store example](examples/vanilla-base/src/store.ts).