Commit Graph

5292 Commits

Author SHA1 Message Date
Dan Abramov
741dc48dad Dry version 2022-02-03 18:01:56 +00:00
Jerson Zúñiga-Coayla
5479670315 fix: typo (#4279) 2022-02-03 16:12:43 +05:30
dan
e6b843bb84 [Beta] Change useState structure, add examples (#4276)
* [Beta] Change useState structure, add examples

* Simpler language

* Nix when not to use it
2022-02-03 00:29:33 +00:00
dan
84742f0b0b Fix typo 2022-02-02 15:19:32 +00:00
dan
75db8f2c36 [Beta] Rename TaskBoard -> TaskApp in examples (#4271)
* [Beta] Rename TaskBoard -> TaskApp in examples

* Update another page

* Update another page

* Update another page

* Update another page
2022-02-02 15:18:52 +00:00
dan
42576e0e08 Bump workflow versions (#4270)
* Bump workflow versions

* Update beta_site_lint.yml

* Update nodejs.yml
2022-02-02 11:58:20 +00:00
Danilo Woznica
626f957364 fix(sandpack): improve memory usage (#4126)
* fix(sandpack): init mode

* init mode tweaks

* sandpack preview: keep loading state while preview is still working

* prettify it

* fix: renew client listener on remount
2022-02-02 11:44:26 +00:00
Dan Abramov
c8ad67d379 Fix deps 2022-02-01 13:53:34 +00:00
Dan Abramov
7d1e054fb0 Remove unused patch 2022-02-01 13:24:53 +00:00
dan
abca1f4495 Use MDXContext directly (#4267)
* Use MDXContext directly

* yolo
2022-02-01 13:19:17 +00:00
dan
58d6f3f9fc Prevent nav context re-renders (#4266) 2022-02-01 12:51:14 +00:00
dan
17e91d83fe [Beta] Address Quick Start review nits (#4264)
* Address review nits

* Update beta/src/pages/learn/index.md

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* Update beta/src/pages/learn/index.md

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* edits

* edits

* edit

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2022-02-01 00:30:26 +00:00
dan
38057903ec [Beta] Reorder useState page (#4265) 2022-01-31 23:41:30 +00:00
Brennon Bortz
5f0549c86e chore: fix typo (#4255)
Fix typo in quick start
2022-01-30 13:02:56 +05:30
dan
9ff30d6a58 Revert "Revert "Removed circle CI (#4236)" (#4253)" (#4254)
This reverts commit 4e20db714b.
2022-01-28 21:21:46 +00:00
dan
4e20db714b Revert "Removed circle CI (#4236)" (#4253)
This reverts commit e347b733c1.
2022-01-28 19:52:13 +00:00
Strek
e1dcbffde1 bump next to latest (#4251) 2022-01-28 19:15:35 +00:00
Strek
e347b733c1 Removed circle CI (#4236) 2022-01-28 19:00:15 +00:00
Strek
43dae71ecb Adds linting for main branch too (#4252) 2022-01-28 18:57:48 +00:00
Strek
3564e690b8 Introduce lint staged (#4240)
* Commit lint staging

* Add mdx parser for prettier

* fix css

* Fixed lint staged for md

* Fixed markdowns

* Revert prettifying markdown since build fails

* Removed css command and included with tsx

* replace with older readme and contibuting
2022-01-28 18:56:11 +00:00
dan
1c355ab630 [Beta] Change "You will learn" for chapters (#4239) 2022-01-28 18:55:27 +00:00
dan
b22c3d6865 [Beta] Rewrite Quick Start (#4245)
* [Beta] Rewrite Quick Start

* Tweaks
2022-01-28 03:01:32 +00:00
Dan Abramov
2b2ac5c3bf Fix download label 2022-01-28 00:42:59 +00:00
dan
4451e5b0b3 Make line highlight full width (#4246) 2022-01-28 00:42:14 +00:00
Ben Rogers-McKee
53d279e370 fix: challenges navigation (#4123)
* fix: challenges navigation

* fix: challenges navigation alternate solution

* fix: challenges navigation assert non null on find

* refactor: unnecessary default value
2022-01-27 21:06:51 +00:00
Mark R. Florkowski
ec65cc000c Add "click to copy" to TerminalBlock (#4025)
* add click to copy to TerminalBlock

* rebase + changes

* fix 'Not all code paths return a value.'

* fix svg jsx

* fix lint errors
2022-01-27 21:06:39 +00:00
Aniruddha Shriwant
f062ee271b [docs]: Updated CodePen links (#4232)
Signed-off-by: Aniruddha Shriwant <aniruddhashriwant@gmail.com>
2022-01-27 17:09:28 +05:30
Danilo Woznica
d80ef566a3 Sandpack: upgrade dependencies and adds ReactDevtools (#4161)
* upgrade sandpack dependencies

* update csb button

* remove unnecessary ref

* add react dev tools

* remove duplicated/unnecessary element

* fix: codemirror gutter

* fix codemirror gutter

* make devtools optional

* bump sandpack version

* fix: add website theme to the react devtools

* fix: react devtools ui tweaks

* devtools: custom theme

* refactor: reset sandbox

* fix sandpack

* fix: devtools style

* fix: tweaks on mobile version

* fix: soft refresh when module is loaded

* bump sandpack version

* update color

* remove demo

* remove inspect button

* bring back key logic

* refactor: icon align

* update sandpack

* logic to keep the content synced
2022-01-24 16:28:52 +00:00
Benjamin Dunphy
69bd27a3d5 Add Reactathon 2022 to conferences.md (#4234) 2022-01-23 16:07:59 +05:30
Strek
51105970b7 Removed google analytics for dev (#4233) 2022-01-23 03:44:29 +00:00
Strek
d84b74040c Bump next (#4228) 2022-01-22 17:19:56 +00:00
R Nabors
b1f91c92f4 Analytics for Beta (#4224)
* adding google analytics metrics to beta

* adding google analytics metrics to beta
2022-01-21 18:51:26 +00:00
Strek
3143db5a8e Updates deployment in readme from netlify to vercel (#4225)
* updates readme

* removed hosting provider name
2022-01-21 18:29:31 +00:00
Juyeong Byeon
9ed29b0df6 fix: "…" spread syntax is not an "operator" but document saying that is an "operator" so it can make developers confused (#4209) 2022-01-18 19:49:12 +00:00
Dan Abramov
45aba8b1c5 Delete _redirects (#3951) 2022-01-18 18:27:43 +00:00
Strek
cd1b0dfed9 Changed the version generation script to update vercel.json instead of _redirects (#4136)
* Changed the version generation script to update vercel.json instead of _redirects

* Fix prettier failures

* Expected to return a value at the end of async function 'writeRedirectsFile'

* Add same script for beta as well

* Fixes review comments

* Fixes formatting in old site
2022-01-18 17:31:17 +00:00
Jonatas de Oliveira Coêlho
e0aed3fbfb Update react-router examples to use v6 version (#4199)
* Update react-router examples to use v6 version

The exemple used to demonstrate Code-Splitting using react-router-dom is outdated. My suggestion is to use the new way of calling routes that was introduced in React Router v6

* remove index prop
2022-01-18 17:28:35 +00:00
Strek
0b21acb5ab Added hook to validate if headings are present or not (#4143)
* Added hook to validate if headings are present or not

* Remove un wanted default param

* Add validate Ids to ci check too

* Revamp heading id generation and validation workflow

* Update validateHeadingIDs.js
2022-01-18 17:28:11 +00:00
Miltos Doulgeris
5a3576a9a1 Update outdated link to avoid redirect (#4218) 2022-01-18 16:56:11 +00:00
Vaibhav Shukla
af768b4618 FIXED: broken 'translated' link (#4223)
* FIXED: broken 'translated' link

removed broken weblink which leads to 404 page

* FIXED: broken 'translation' link
2022-01-18 22:14:10 +05:30
lxmarinkovic
d321ff4506 React Live 2022 Amsterdam (#4222) 2022-01-18 21:46:49 +05:30
Josh Unger
b9c33a0552 Add React Miami to conferences.md (#4191) 2022-01-10 11:50:04 +05:30
Strek
569949e266 Fix jsx example for string attributes (#4204) 2022-01-07 17:07:28 +01:00
Baljeet Singh
7a6a628239 Add Link to React Conf 2021 Playlist (#4207)
* Add Link to React Conf 2021 Playlist

* Remove `allow` attribute from the `<iframe>`

Remove `allow` attribute from the `<iframe>` for React Conf 2021 YouTube playlist.
2022-01-06 23:55:13 +05:30
Lukasz Baranowski
b41b1dc356 Docs - phrasing sentence in conditional rendering article (#4196) 2021-12-23 11:58:47 +05:30
Soichiro Miki
d216582ff9 Fix workflow file name (#4192) 2021-12-21 14:29:24 +05:30
Paul O’Shannessy
e3ba7fe205 Update copyright on website (#4193)
This should be Meta now
2021-12-21 00:58:04 +00:00
Josh Unger
0cddca13dd Update conferences.md (#4187) 2021-12-18 22:11:51 +05:30
Strek
098b0ae039 Delete multi-platform-vision.png (#4181) 2021-12-18 10:52:02 +05:30
Dan Abramov
51bd2bccd4 Add missing talk 2021-12-17 20:53:03 +00:00