Merge pull request #595 from jdegand/react-md

fix: typos in react md
This commit is contained in:
Laforge Thomas
2024-02-17 13:48:34 +01:00
committed by GitHub

View File

@@ -15,14 +15,14 @@ Many components are available in React, and it can be interesting to use them in
## Information ## Information
In this challenge, we have a simple application and a react component `ReactPost` in `app/react` to illustrate a react component from a library. In this challenge, we have a simple application and a React component `ReactPost` in `app/react` to illustrate a React component from a library.
## Statement ## Statement
- Your task is to display the posts with the React component `ReactPost`. - Your task is to display the posts with the React component `ReactPost`.
- When you select a post, the post should be highlighted. - When you select a post, the post should be highlighted.
In order to play with the react component, you should start by installing the react dependencies. In order to play with the React component, you should start by installing the React dependencies.
```bash ```bash
npm i --save react react-dom npm i --save react react-dom
@@ -31,7 +31,7 @@ npm i --save-dev @types/react @types/react-dom
## Constraints ## Constraints
- 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**. - 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**.
### Hint ### Hint