mirror of
https://github.com/jbranchaud/til
synced 2026-01-08 01:28:02 +00:00
Remove the word 'simply', it's not helping
This commit is contained in:
@@ -36,6 +36,6 @@ class MyComponent extends React.Component {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
I can force this `Counter` component to remount, thus resetting its state
|
I can force this `Counter` component to remount, thus resetting its state by
|
||||||
simply by passing it a new `key` value. The `button` can trigger this by
|
passing it a new `key` value. The `button` can trigger this by updating the
|
||||||
updating the `remountKey` value.
|
`remountKey` value.
|
||||||
|
|||||||
Reference in New Issue
Block a user