Skip to content

Commit

Permalink
Remove outdated links to X (#2)
Browse files Browse the repository at this point in the history
The links to X are not valid since the account "dan_abramov" no longer exists.
  • Loading branch information
dasMoeppi authored Jun 20, 2024
1 parent 464292d commit 16fc813
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/exercise/01.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ return <CounterContext.Provider value={value} {...props} />
const {state, increment, decrement} = useCounter()
```
This isn't a _bad_ solution necessarily. But
[as my friend Dan says](https://twitter.com/dan_abramov/status/1125758606765383680):
This isn't a _bad_ solution necessarily. But as my friend Dan says:
> Helper methods are object junk that we need to recreate and compare for no
> purpose other than superficially nicer looking syntax.
Expand Down Expand Up @@ -183,8 +182,7 @@ function Counter() {
**This may look like overkill, and it is.** However, in some situations this
pattern can not only help you reduce duplication, but it also
[helps improve performance](https://twitter.com/dan_abramov/status/1125774170154065920)
and helps you avoid mistakes in dependency lists.
helps improve performance and helps you avoid mistakes in dependency lists.
I wouldn't recommend this all the time, but sometimes it can be a help!
Expand Down

0 comments on commit 16fc813

Please sign in to comment.