Skip to content

Commit 7a1a00a

Browse files
committed
docs: Fix blog post links
1 parent d36e559 commit 7a1a00a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

website/blog/2024-04-08-v0.11-queries-querable-usequery.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In this release we tune and simplify this functionality by unifying around the c
1414
[Entity](/rest/api/Entity), [All](/rest/api/All), [Collection](/rest/api/Collection), [Query](/rest/api/Query),
1515
and [Union](/rest/api/Union)
1616

17-
The biggest impact of this change is the introduction of a new hook [useQuery()](/blog/2024/03/15/v0.11-queries-querable-usequery#usequery), which allows direct store lookups
17+
The biggest impact of this change is the introduction of a new hook [useQuery()](/blog/2024/04/08/v0.11-queries-querable-usequery#usequery), which allows direct store lookups
1818
using the [Querable Schemas](/docs/api/useQuery#queryable).
1919

2020
```ts
@@ -32,27 +32,27 @@ const bob = useQuery(User, { username: 'bob' });
3232
const bob = useQuery(User, { id: '5' });
3333
```
3434

35-
Similarly, we can lookup Querables with controller and snapshot using the [controller.get](/blog/2024/03/15/v0.11-queries-querable-usequery#controllerget)
35+
Similarly, we can lookup Querables with controller and snapshot using the [controller.get](/blog/2024/04/08/v0.11-queries-querable-usequery#controllerget)
3636

3737
```ts
3838
const bob = snapshot.get(User, { username: 'bob' });
3939
```
4040

4141
<center>
4242

43-
<Link className="button button--secondary" to="/blog/2024/03/15/v0.11-queries-querable-usequery#migration-guide">Migration guide</Link>
43+
<Link className="button button--secondary" to="/blog/2024/04/08/v0.11-queries-querable-usequery#migration-guide">Migration guide</Link>
4444

4545
</center>
4646

4747
**Breaking Changes:**
4848

49-
- [useCache(new Index(MyEntity)) -> useQuery(MyEntity)](/blog/2024/03/15/v0.11-queries-querable-usequery#removed-index)
50-
- [new Query -> new schema.Query](/blog/2024/03/15/v0.11-queries-querable-usequery#query-migration)
49+
- [useCache(new Index(MyEntity)) -> useQuery(MyEntity)](/blog/2024/04/08/v0.11-queries-querable-usequery#removed-index)
50+
- [new Query -> new schema.Query](/blog/2024/04/08/v0.11-queries-querable-usequery#query-migration)
5151
- useCache(myQuery) -> useQuery(myQuery)
52-
- [new AbortOptimistic() -> snapshot.abort](/blog/2024/03/15/v0.11-queries-querable-usequery#snap.abort)
53-
- [Entity.useIncoming → Entity.shouldUpdate](/blog/2024/03/15/v0.11-queries-querable-usequery#shouldupdate)
52+
- [new AbortOptimistic() -> snapshot.abort](/blog/2024/04/08/v0.11-queries-querable-usequery#snap.abort)
53+
- [Entity.useIncoming → Entity.shouldUpdate](/blog/2024/04/08/v0.11-queries-querable-usequery#shouldupdate)
5454

55-
[**Other Highlights:**](/blog/2024/03/15/v0.11-queries-querable-usequery#other-improvements)
55+
[**Other Highlights:**](/blog/2024/04/08/v0.11-queries-querable-usequery#other-improvements)
5656

5757
- useCache() accepts Endpoints with sideEffects (like [Resource.update](/rest/api/createResource#update))
5858
- Allow Entity.pk() to return numbers.
@@ -115,7 +115,7 @@ const getBob = new schema.Query(
115115

116116
</TypeScriptEditor>
117117

118-
### controller.get / snapshot.get
118+
### controller.get / snapshot.get {#controllerget}
119119

120120
We can now [access the store](/docs/api/Controller#get) with just a Queryable Schema - we no longer need an entire Endpoint.
121121
[#2921](https://github.com/reactive/data-client/pull/2921)

0 commit comments

Comments
 (0)