Skip to content

Commit

Permalink
🔖 publish: version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
krispya committed Nov 6, 2024
1 parent 24809b0 commit 868365e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions packages/publish/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,3 +521,13 @@ function Rocket() {
return <div ref={entityRef}>🚀</div>
}
```
`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.
2 changes: 1 addition & 1 deletion packages/publish/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 868365e

Please sign in to comment.