Skip to content

Commit a6d7bda

Browse files
committed
fix: typos in react md
1 parent 17149c6 commit a6d7bda

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/src/content/docs/challenges/angular/45-react-in-angular.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,26 @@ Many components are available in React, and it can be interesting to use them in
1515

1616
## Information
1717

18-
In this challenge, we have a simple application and a react component `ReactPost` in `app/react` to illustrate a react component from a library.
18+
In this challenge, we have a simple application and a React component `ReactPost` in `app/react` to illustrate a React component from a library.
1919

2020
## Statement
2121

2222
- Your task is to display the posts with the React component `ReactPost`.
2323
- When you select a post, the post should be highlighted.
2424

25-
In order to play with the react component, you should start by installing the react dependencies.
25+
In order to play with the React component, you should start by installing the React dependencies.
2626

2727
```bash
2828
npm i --save react react-dom
29+
```
30+
31+
```bash
2932
npm i --save-dev @types/react @types/react-dom
3033
```
3134

3235
## Constraints
3336

34-
- Do not transform the react component in an angular component. The React component is pretty simple and can be written with ease in Angular. But **the goal is to use the React component**.
37+
- Do not transform the React component into an Angular component. The React component is pretty simple and can be written with ease in Angular. But **the goal is to use the React component**.
3538

3639
### Hint
3740

0 commit comments

Comments
 (0)