Skip to content

Commit

Permalink
Fix typos, round two
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jan 3, 2025
1 parent 19043c9 commit 6f1f169
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@
},
{
"title": "Understanding global state, local context and derived state",
"slug": "undestanding-global-state-local-context-and-derived-state",
"slug": "understanding-global-state-local-context-and-derived-state",
"markdown_source": "../docs/reference-guides/interactivity-api/core-concepts/undestanding-global-state-local-context-and-derived-state.md",
"parent": "core-concepts"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ store( 'myFruitPlugin', {

The derived state, regardless of whether it derives from the global state, local context, or both, can also be processed on the server by the Server Directive Processing.

_Please, visit the [Understanding global state, local context and derived state](./undestanding-global-state-local-context-and-derived-state.md) guide to learn more about how derived state works in the Interactivity API._
_Please, visit the [Understanding global state, local context and derived state](./understanding-global-state-local-context-and-derived-state.md) guide to learn more about how derived state works in the Interactivity API._

### Derived state that can be defined statically

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ That's it! Now you can access the context properties with the correct types.

The derived state is data that is calculated based on the global state or local context. In the client store definition, it is defined using a getter in the `state` object.

_Please, visit the [Understanding global state, local context and derived state](./undestanding-global-state-local-context-and-derived-state.md) guide to learn more about how derived state works in the Interactivity API._
_Please, visit the [Understanding global state, local context and derived state](./understanding-global-state-local-context-and-derived-state.md) guide to learn more about how derived state works in the Interactivity API._

Following our previous example, let's create a derived state that is the double of our counter.

Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
}
}

// This shouldn't be necessary (we should have a way to say that a skeletton is relative
// This shouldn't be necessary (we should have a way to say that a skeleton is relative
.edit-site-layout__mobile .interface-interface-skeleton,
.edit-site-layout__canvas .interface-interface-skeleton,
.edit-site-template-pages-preview .interface-interface-skeleton {
Expand Down
2 changes: 1 addition & 1 deletion packages/element/src/test/create-interpolate-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ describe( 'createInterpolateElement', () => {
expect( container ).toContainHTML( '<strong>string!</strong>' );
expect( container ).not.toContainHTML( '<em>' );
} );
it( 'handles parsing emojii correctly', () => {
it( 'handles parsing emoji correctly', () => {
const testString = '👳‍♀️<icon>🚨🤷‍♂️⛈️fully</icon> here';
const expectedElement = createElement(
Fragment,
Expand Down
2 changes: 1 addition & 1 deletion packages/interactivity/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function createFlusher( compute: () => void, notify: () => void ): Flusher {
/**
* Custom hook that executes a callback function whenever a signal is triggered.
* Version of `useSignalEffect` with a `useEffect`-like execution. This hook
* implementation comes from this PR, but we added short-cirtuiting to avoid
* implementation comes from this PR, but we added short-circuiting to avoid
* infinite loops: https://github.com/preactjs/signals/pull/290
*
* @param callback The callback function to be executed.
Expand Down

0 comments on commit 6f1f169

Please sign in to comment.