Commit 687c4eb

Lewis Llobera
1 parent 1cbc6f7 commit 687c4eb
File tree
2 files changed
+10
-7
lines changed- docusaurus/docs
- packages/cra-template-typescript/template/src
2 files changed
+10
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 |
| |
61 | 64 |
| |
62 | 65 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
1 commit comments
entozoon commentedon Feb 20, 2020
Mightn't it be better to keep the arrow function here and replace the function declaration in the JS template?
I mean, it's personal preference to some extent but the consensus appears to be using arrows (when outside of a class), plus easier to change to export.
I'm happy to make the changes if sensible