diff --git a/docs/content/state/v2/intro/fast.mdx b/docs/content/state/v2/intro/fast.mdx index 00a7f4d..073b1ab 100644 --- a/docs/content/state/v2/intro/fast.mdx +++ b/docs/content/state/v2/intro/fast.mdx @@ -52,7 +52,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/content/state/v3/intro/fast.mdx b/docs/content/state/v3/intro/fast.mdx index 70b6d24..1a9b083 100644 --- a/docs/content/state/v3/intro/fast.mdx +++ b/docs/content/state/v3/intro/fast.mdx @@ -51,7 +51,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/public/state/v2/llms-full.md b/docs/public/state/v2/llms-full.md index 56ce88f..e78c322 100644 --- a/docs/public/state/v2/llms-full.md +++ b/docs/public/state/v2/llms-full.md @@ -653,7 +653,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/public/state/v2/llms-full.txt b/docs/public/state/v2/llms-full.txt index 56ce88f..e78c322 100644 --- a/docs/public/state/v2/llms-full.txt +++ b/docs/public/state/v2/llms-full.txt @@ -653,7 +653,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/public/state/v2/llms/intro/fast.md b/docs/public/state/v2/llms/intro/fast.md index e5b8fad..80830f6 100644 --- a/docs/public/state/v2/llms/intro/fast.md +++ b/docs/public/state/v2/llms/intro/fast.md @@ -47,7 +47,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/public/state/v3/llms-full.md b/docs/public/state/v3/llms-full.md index 3a2209e..129d144 100644 --- a/docs/public/state/v3/llms-full.md +++ b/docs/public/state/v3/llms-full.md @@ -296,7 +296,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/public/state/v3/llms-full.txt b/docs/public/state/v3/llms-full.txt index 3a2209e..129d144 100644 --- a/docs/public/state/v3/llms-full.txt +++ b/docs/public/state/v3/llms-full.txt @@ -296,7 +296,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders diff --git a/docs/public/state/v3/llms/intro/fast.md b/docs/public/state/v3/llms/intro/fast.md index 9cd002b..b05cdd9 100644 --- a/docs/public/state/v3/llms/intro/fast.md +++ b/docs/public/state/v3/llms/intro/fast.md @@ -47,7 +47,7 @@ Proxying by path also enables some really interesting list optimizations: in the ### Listeners at each node -Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://bretcameron.medium.com/how-to-make-your-code-faster-using-javascript-sets-b432457a4a77). +Each node keeps a `Set` of listeners so that you can listen to changes to any value anywhere within the state. This is great for performance because changes only call the few listeners that are affected by that change. JavaScript's `Set` provides nice benefits here as its uniquenesss constraint ensures callbacks are added only once, and removing listeners is an [instant O(1) operation](https://www.bretcameron.com/blog/how-to-make-your-code-faster-using-javascript-sets). ### Granular renders