Skip to content

Commit f64bcc4

Browse files
committed
Updated readme and proved example 08 works fine step by step
1 parent 51f8b04 commit f64bcc4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

hooks/08_ColorPickerRefactor/Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 09 Colorpicker Refactor
1+
# 08 Colorpicker Refactor
22

33
In this example we are going to review the colorpicker component we have created and simplify it. Right now we have three slider controls with many details that make our HTML hard to read. Let's componentize this scenario.
44

@@ -219,13 +219,13 @@ export const ColorPicker = (props: Props) => {
219219
}
220220
```
221221

222-
- Now we got a great result !! we have enhanced code quality in our component.
222+
- Now we got a great result!! We have enhanced code quality in our component.
223223

224224
```bash
225225
npm start
226226
```
227227

228-
- Could we go one step furhter refactoring? The answer is yes, could it be worth? That's
228+
- Could we go one step further refactoring? The answer is yes, could it be worth? That's
229229
worth a discussion, sometimes is a good idea to keep on refactoring, and then rollback
230230
one step, let's apply the following trick, let's replace our color picker with this code:
231231

0 commit comments

Comments
 (0)