Skip to content

Commit d8c8dbe

Browse files
Kevin Baragonarolandszoke
authored andcommitted
docs(general): fix spelling errors
1 parent 279d18f commit d8c8dbe

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ person.name = 'Ann';
214214
export default person;
215215
```
216216

217-
The first example wouldn't trigger re-renders on the `person.name = 'Ann'` mutation, because it is targeted at the raw object. Mutating the raw - none `store`-wrapped object - won't schedule renders.
217+
The first example wouldn't trigger re-renders on the `person.name = 'Ann'` mutation, because it is targeted at the raw object. Mutating the raw - non-`store`-wrapped object - won't schedule renders.
218218

219219
</details>
220220
<p></p>
@@ -692,10 +692,10 @@ export default view(() => {
692692
```
693693

694694
<details>
695-
<summary>Explicitly pass none reactive dependencies - like vanillas props and state - to local auto effects in function components.</summary>
695+
<summary>Explicitly pass non-reactive dependencies - like vanillas props and state - to local auto effects in function components.</summary>
696696
<p></p>
697697

698-
Because of the design of React hooks you have to explicitly pass all none reactive data to a hook-like dependency array. This makes sure that the effect also runs when the none reactive data changes.
698+
Because of the design of React hooks you have to explicitly pass all non-reactive data to a hook-like dependency array. This makes sure that the effect also runs when the non-reactive data changes.
699699

700700
```jsx
701701
import React from 'react'

src/view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export let isInsideFunctionComponentWithoutHooks = false;
2121
const COMPONENT = Symbol('owner component');
2222

2323
function mapStateToStores(state) {
24-
// find store properties and map them to their none observable raw value
25-
// to do not trigger none static this.setState calls
24+
// find store properties and map them to their non-observable raw value
25+
// to do not trigger non-static this.setState calls
2626
// from the static getDerivedStateFromProps lifecycle method
2727
const component = state[COMPONENT];
2828
return Object.keys(component)

0 commit comments

Comments
 (0)