Skip to content

Commit 1b21810

Browse files
committed
Remove old reference to create-react-app
1 parent cd37b0b commit 1b21810

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/5/en/part5c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ In React there are (at least) [two different conventions](https://medium.com/@Je
183183

184184
The other convention is to store the test files "normally" in a separate _test_ directory. Whichever convention we choose, it is almost guaranteed to be wrong according to someone's opinion.
185185

186-
I do not like this way of storing tests and application code in the same directory. The reason we choose to follow this convention is that it is configured by default in applications created by Vite or create-react-app.
186+
I do not like this way of storing tests and application code in the same directory. However, we will follow this approach for now, as it is the most common practice in small projects.
187187

188188
### Searching for content in a component
189189

src/content/5/fi/osa5c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Reactissa on (ainakin) [kaksi erilaista](https://medium.com/@JeffLombardJr/organ
187187

188188
Toinen tapa olisi sijoittaa testit "normaaliin" tapaan omaan erilliseen hakemistoon. Valitaanpa kumpi tapa tahansa, on varmaa että se on jonkun mielestä täysin väärä.
189189

190-
Itse en pidä siitä, että testit ja normaali koodi ovat samassa hakemistossa. Noudatamme kuitenkin nyt tätä tapaa, sillä se on oletusarvo Create React App:lla konfiguroiduissa sovelluksissa.
190+
Itse en pidä siitä, että testit ja normaali koodi ovat samassa hakemistossa. Noudatamme kuitenkin nyt tätä tapaa, sillä se on yleisin käytäntö pienissä projekteissa.
191191

192192
### Sisällön etsiminen testattavasta komponentista
193193

0 commit comments

Comments
 (0)