From 868365e884305ad85dc7171bf8ede71767197189 Mon Sep 17 00:00:00 2001 From: Kris Baumgartner Date: Wed, 6 Nov 2024 10:14:33 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20publish:=20version=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/publish/README.md | 10 ++++++++++ packages/publish/package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/publish/README.md b/packages/publish/README.md index 88c951c..f1958ed 100644 --- a/packages/publish/README.md +++ b/packages/publish/README.md @@ -521,3 +521,13 @@ function Rocket() { return
🚀
} ``` + +`useQuery` reactively updates when entities matching the query changes. Returns a `QueryResult`, which is like an array of entities. + +`usQueryFirst` works like `useQuery` but only returns the first result. Can either be an entity of undefined. + +`useWorld` returns the world passed in via the `WorldProvider`. + +`WorldProvider` the provider for the world context. A world must be created and passed in. + +`useObserve` observes an entity, or world, for a given trait and reactively updates when it is added, removed or changes value. \ No newline at end of file diff --git a/packages/publish/package.json b/packages/publish/package.json index f3a27ba..65b636d 100644 --- a/packages/publish/package.json +++ b/packages/publish/package.json @@ -1,6 +1,6 @@ { "name": "koota", - "version": "0.1.4", + "version": "0.1.5", "description": "🌎 Performant real-time state management for React and TypeScript", "license": "ISC", "type": "module",