Skip to content

Commit

Permalink
create/update '2023-12-08-modernizing-react.md' file
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunaGordon committed Jul 6, 2024
1 parent 404ff62 commit ec67cec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/posts/2023-12-08-modernizing-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ we need to make it
const Foo = () => {
```
This, of course, will promptly throw a bunch of IDE error syntax errors. That's okay, we'll fix those in the following steps. Just make sure the function is wrapping properly.
This, of course, will promptly throw a bunch of IDE error syntax errors. That's okay, we'll fix those in the following steps. Just make sure the function is wrapping properly.
## Convert The Inner Functions
Now that we've done the easy part, the next step is to convert all the functions to either hooks or constants. This is where it gets a bit time consuming, because it requires more understanding of the code the than simply a syntax conversion.

0 comments on commit ec67cec

Please sign in to comment.