Skip to content

Commit

Permalink
removed absurd amount of exclamation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
SceptreData committed Dec 12, 2019
1 parent 6fb3147 commit 275ae19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/posts/thinking-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const ColorPicker = ({ width, height }) => {
### Color

Whenever the user changes an input, we want our color value to update.
This is easy with React Hooks!
This is easy with React Hooks.

The real magic happens in our call to useEffect: we've listed our input states
as dependencies. Because we've lifted our state up to the same level
Expand Down Expand Up @@ -291,7 +291,7 @@ const Slider = ({ value, setValue, height }) => {
## The Slider Component

At the start of this project Some of the alternative implementations we
looked into had code over *10,000* lines long to build a slider. Nuts to that!
looked into had code over *10,000* lines long to build a slider. Nuts to that.

We saved ourselves a lot of anguish by building our slider out of
the basic HTML5 range slider. Our getters/setters are passed down from the component root,
Expand Down

0 comments on commit 275ae19

Please sign in to comment.