Skip to content

Commit ce86d93

Browse files
committed
docs: Fix blog hydration error
1 parent 751c63a commit ce86d93

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

docs/core/concepts/normalization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ library, which has less features, but similar schema definitions.
385385
Memoization is done at every entity level - no matter how nested, ensuring global referential equality guarantees
386386
and up to 20x performance even after [mutation operations](../getting-started/mutations.md) like Create, Update and Delete.
387387

388+
<center>
389+
388390
<Grid>
389391

390392
```mermaid
@@ -405,8 +407,6 @@ xychart-beta
405407

406408
</Grid>
407409

408-
<center>
409-
410410
[View benchmark](https://github.com/reactive/data-client/blob/master/examples/benchmark)
411411

412412
</center>

website/blog/.cursor/rules/blog-posts.mdc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ When documenting performance gains:
113113
3. **Link evidence** - Reference the PR implementing the optimization and relevant docs
114114
4. **Visualize with mermaid chart** - Use `xychart-beta` bar chart comparing operations:
115115

116+
<div style={{maxWidth:'600px'}}>
116117
```mermaid
117118
xychart-beta
118119
title "Performance vs vX.Y"
@@ -121,6 +122,7 @@ xychart-beta
121122
bar [new_values]
122123
bar [baseline_100s]
123124
```
125+
</div>
124126

125127
5. **Include benchmark links** - End with centered links to live benchmarks and source:
126128

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ decent boost of 2x to the most common operations. With the addition of [query ca
256256

257257
These adds to the existing (up to 23x) [lead over the legacy normalizr](/docs/concepts/normalization#benchmarks) library.
258258

259+
<center>
260+
<div style={{maxWidth:'600px'}}>
261+
259262
```mermaid
260263
xychart-beta
261264
title "Performance vs v0.10"
@@ -265,7 +268,7 @@ xychart-beta
265268
bar [100, 100, 100, 100, 100]
266269
```
267270

268-
<center>
271+
</div>
269272

270273
[Benchmarks over time](https://reactive.github.io/data-client/dev/bench/) | [View benchmark](https://github.com/reactive/data-client/tree/master/examples/benchmark)
271274

website/blog/2024-07-13-v0.14-release-announcement.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ Internal schema interface changes provide a **10% normalization performance boos
207207

208208
Using `Map` instead of plain objects for entity storage provides up to **32% faster lookups** for large datasets. [#3390](https://github.com/reactive/data-client/pull/3390)
209209

210+
<center>
211+
<div style={{maxWidth:'500px'}}>
212+
210213
```mermaid
211214
xychart-beta
212215
title "Performance vs v0.13"
@@ -216,7 +219,7 @@ xychart-beta
216219
bar [100, 100, 100]
217220
```
218221

219-
<center>
222+
</div>
220223

221224
[Benchmarks over time](https://reactive.github.io/data-client/dev/bench/) | [View benchmark](https://github.com/reactive/data-client/tree/master/examples/benchmark)
222225

website/blog/2025-01-XX-v0.15-vue-support-collection-remove.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ import {
228228

229229
Removing ImmutableJS auto-detection overhead and optimizing denormalization code paths provides a **10-20% improvement** for get/denormalize operations. [#3421](https://github.com/reactive/data-client/pull/3421), [#3468](https://github.com/reactive/data-client/pull/3468)
230230

231+
<center>
232+
<div style={{maxWidth:'500px'}}>
233+
231234
```mermaid
232235
xychart-beta
233236
title "Performance vs v0.14"
@@ -237,7 +240,7 @@ xychart-beta
237240
bar [100, 100, 100]
238241
```
239242

240-
<center>
243+
</div>
241244

242245
[Benchmarks over time](https://reactive.github.io/data-client/dev/bench/) | [View benchmark](https://github.com/reactive/data-client/tree/master/examples/benchmark)
243246

0 commit comments

Comments
 (0)