Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
use proper code block (#4671)
Browse files Browse the repository at this point in the history
  • Loading branch information
harish-sethuraman authored May 22, 2022
1 parent 199e9ca commit 3aac8c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions beta/src/pages/blog/2019/10/22/react-release-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ If you're the author of a third party React framework, library, developer tool,
- Set up a cron job using your preferred continuous integration platform. Cron jobs are supported by both [CircleCI](https://circleci.com/docs/2.0/triggers/#scheduled-builds) and [Travis CI](https://docs.travis-ci.com/user/cron-jobs/).
- In the cron job, update your React packages to the most recent React release in the Next channel, using `next` tag on npm. Using the npm cli:

```
```console
npm update react@next react-dom@next
```

Or yarn:

```
```console
yarn upgrade react@next react-dom@next
```

Expand Down
4 changes: 2 additions & 2 deletions content/blog/2019-10-22-react-release-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ If you're the author of a third party React framework, library, developer tool,
- Set up a cron job using your preferred continuous integration platform. Cron jobs are supported by both [CircleCI](https://circleci.com/docs/2.0/triggers/#scheduled-builds) and [Travis CI](https://docs.travis-ci.com/user/cron-jobs/).
- In the cron job, update your React packages to the most recent React release in the Next channel, using `next` tag on npm. Using the npm cli:

```
```console
npm update react@next react-dom@next
```

Or yarn:

```
```console
yarn upgrade react@next react-dom@next
```
- Run your test suite against the updated packages.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/add-react-to-a-website.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Congratulations! You just added a **production-ready JSX setup** to your project

Create a folder called `src` and run this terminal command:

```
```console
npx babel --watch src --out-dir . --presets react-app/prod
```

Expand Down
4 changes: 2 additions & 2 deletions content/docs/release-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ If you're the author of a third party React framework, library, developer tool,
- Set up a cron job using your preferred continuous integration platform. Cron jobs are supported by both [CircleCI](https://circleci.com/docs/2.0/triggers/#scheduled-builds) and [Travis CI](https://docs.travis-ci.com/user/cron-jobs/).
- In the cron job, update your React packages to the most recent React release in the Next channel, using `next` tag on npm. Using the npm cli:

```
```console
npm update react@next react-dom@next
```

Or yarn:

```
```console
yarn upgrade react@next react-dom@next
```
- Run your test suite against the updated packages.
Expand Down

0 comments on commit 3aac8c5

Please sign in to comment.