Skip to content

Commit 9d28f55

Browse files
committed
mention about vite
1 parent 9a1f176 commit 9d28f55

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/content/1/en/part1a.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ We will now start getting familiar with probably the most important topic of thi
1111

1212
The easiest way to get started by far is by using a tool called [create-react-app](https://github.com/facebook/create-react-app). It is possible (but not necessary) to install <i>create-react-app</i> on your machine if the <i>npm</i> tool that was installed along with Node has a version number of at least <i>5.3</i>.
1313

14+
> <i>You may also use the new generation frontend tool [Vite](https://vitejs.dev/) in this course if you wish. The create-react-app is still the tool recommended by the React team and that is why it remains the default tool to set up a React project in this course. Read [here](https://github.com/reactjs/reactjs.org/pull/5487#issuecomment-1409720741) how the React team sees the future of React tooling.</i>
15+
1416
Let's create an application called <i>part1</i> and navigate to its directory.
1517

1618
```bash

src/content/1/fi/osa1a.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Alamme nyt tutustua kurssin ehkä tärkeimpään teemaan, [React](https://reactj
1111

1212
Ehdottomasti helpoin tapa päästä alkuun on [create-react-app](https://github.com/facebookincubator/create-react-app)-nimisen työkalun käyttö. <i>create-react-app</i> on mahdollista asentaa omalle koneelle, mutta asennukseen ei ole tarvetta jos Noden mukana asentunut <i>npm</i>-työkalu on versioltaan vähintään <i>5.3</i>. Tällöin npm:n mukana asentuu komento </i>npx</i>, joka mahdollistaa create-react-app:in käytön asentamatta sitä erikseen. Npm:n version saa selville komennolla <em>npm -v</em>.
1313

14+
> <i>Voit halutessasi käyttää kurssilla React-projektien luomiseen myös "uuden generaation" [Vite](https://vitejs.dev/)-kirjastoa. Koska create-react-app on edelleen Reactin kehitystiimin suositus, on se myös tämän kurssin oletusarvoinen työkalu React-projektien luomiseen. Voit lukea [täältä](https://github.com/reactjs/reactjs.org/pull/5487#issuecomment-1409720741) React-tiimin ajatuksista frontendin "bootstrappaus"-työkalujen tulevaisuudesta.</i>
15+
1416
Luodaan sovellus nimeltään <i>part1</i> ja mennään sovelluksen sisältämään hakemistoon:
1517

1618
```bash

src/content/partnavigation/partnavigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ module.exports = {
284284
a: 'Flux-architecture y Redux',
285285
b: 'Muchos reducers',
286286
c: 'Comunicarse con el servidor en una aplicación redux',
287-
d: 'React Query, useReducer y el contexto,
287+
d: 'React Query, useReducer y el contexto',
288288
e: 'connect (la parte antigua)',
289289
},
290290
'7': {

0 commit comments

Comments
 (0)