Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Damon Cook <colorful-tones@users.noreply.github.com>
  • Loading branch information
luisherranz and colorful-tones authored Aug 19, 2024
1 parent 9f59f16 commit 86586b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Core Concepts

This section provides some guides on important concepts and mental models related to the Int block development. Use the following links to learn more:
This section provides some guides on important concepts and mental models related to Interactivity API development. Use the following links to learn more:

1. **[The Reactive and Declarative mindset](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/the-reactive-and-declarative-mindset):** This guide covers core concepts of reactivity and declarativeness, providing a foundation for effective use of the Interactivity API.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ In most cases, the initial derived state can be defined statically, as in the pr

To see an example of this, let's continue by adding a shopping cart emoji (🛒) for each fruit, depending on whether it is on a shopping list or not.

First, let's add an array that represents the shopping list. _Remember that even though these arrays are static for simplicity shake, usually you will work with dynamic information, for example, information coming from the database._
First, let's add an array that represents the shopping list. _Remember that even though these arrays are static for simplicity sake, usually you will work with dynamic information, for example, information coming from the database._

```php
wp_interactivity_state( 'myFruitPlugin', array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You should use global state when:
} );
```

_Please note that, although this works, in general is a good practice to define all the global state on the server._
_Please note that, although this works, in general it is a good practice to define all the global state on the server._

- **Accessing the global state**

Expand Down Expand Up @@ -544,7 +544,7 @@ You should use derived state:
<span data-wp-text="state.double"></span>
```

The same happens in Javascript. Both global state and derived state can be consumed through the `state` property of the store:
The same happens in JavaScript. Both global state and derived state can be consumed through the `state` property of the store:

```js
const { state } = store( 'myCounterPlugin', {
Expand Down

0 comments on commit 86586b4

Please sign in to comment.