You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -488,7 +488,7 @@ export default view(() => {
488
488
**Local stores in functions rely on React hooks. They require React and React DOM v16.8+ or React Native v0.59+ to work.**
489
489
490
490
<details>
491
-
<summary>You can use React hooks - including <code>useState</code> - in function components, Easy State won't interfere with them. Consider using <ahref="#local-auto-effects-in-function-components">autoEffect</a> instead of the `useEffect` hook for the best experience though.</summary>
491
+
<summary>You can use React hooks - including <code>useState</code> - in function components, Easy State won't interfere with them. Consider using <ahref="#local-auto-effects-in-function-components">autoEffect</a> instead of the <code>useEffect</code> hook for the best experience though.</summary>
492
492
<p></p>
493
493
494
494
```jsx
@@ -512,26 +512,6 @@ export default view(() => {
512
512
513
513
</details>
514
514
515
-
<p></p>
516
-
<details>
517
-
<summary>You can also pass a <code>function</code> to the store. In this case easy-state will create a state store from the function result.</summary>
0 commit comments