mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23: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
|
||||
simply by passing it a new `key` value. The `button` can trigger this by
|
||||
updating the `remountKey` value.
|
||||
I can force this `Counter` component to remount, thus resetting its state by
|
||||
passing it a new `key` value. The `button` can trigger this by updating the
|
||||
`remountKey` value.
|
||||
|
||||
Reference in New Issue
Block a user