We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9ad247 commit 87497b3Copy full SHA for 87497b3
1 file changed
README.md
@@ -231,8 +231,7 @@ const Counter = () => {
231
232
- Migration to array based API is a bit more complex but recommended (especially if you're using ESLint rules for hooks).
233
Take a look at [this section](./README-ARRAY.md#migration-from-object-to-array-based) in array API docs.
234
-- All lifecycle helpers are got removed, please replace them with `useEffect`
235
-`useOnMount` and `useOnUnmount` and `useLifecycleHooks`:
+- All lifecycle helpers are removed. Please replace `useOnMount`, `useOnUnmount` and `useLifecycleHooks` with `useEffect`.
236
This:
237
```javascript
238
useOnMount(() => console.log("I'm mounted!"))
0 commit comments