Soichiro Miki
4be33b8128
Change "return statement" to "return keyword" ( #4137 )
3 years ago
Sofya Tuymedova
466809e8f4
docs: fix a grammatical error ( #4183 )
Co-authored-by: dan <dan.abramov@gmail.com>
3 years ago
Sofya Tuymedova
cb6e1d0807
docs: phrasing a sentence ( #4182 )
* docs: phrasing a sentence
* Update extracting-state-logic-into-a-reducer.md
Co-authored-by: dan <dan.abramov@gmail.com>
3 years ago
Sofya Tuymedova
c089fbc7cd
docs: phrasing a sentence ( #4185 )
3 years ago
dan
7d615adec3
[Beta] useState Troubleshooting ( #4309 )
* [Beta] useState Troubleshooting
* Tweaks
* tweak
3 years ago
Strek
71b743a2a6
Generate Ids when there are none in local development ( #4304 )
* Generate Ids when there are no headings
* Tweak code
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
3 years ago
Sha Mwe La
e2b2ebfd7b
Improve font display ( #4308 )
3 years ago
Amaresh S M
cd1717bfbd
Sandpack error icon overlapping issue fix ( #4302 )
* sandpack error icon overlapping issue fix
* modified errorline css
3 years ago
Sahil Mhapsekar
20f0fe280f
Update React India 2022 Conference Dates 🌴 ( #4305 )
3 years ago
Abrahym Sharf Eldden
55b4754073
Updated code-splitting.md ( #4303 )
Updated the imported `react-router-dom` Component `BrowserRouter` to read as `BrowserRouter as Router` since the code example has it as `Router` instead of `BrowserRouter`
Alternatively, can change the `<Router></Router>` component to be `<BrowserRouter>...</BrowserRouter>`
3 years ago
Dan Abramov
ea824c610d
More tweaks
3 years ago
Sophie Alpert
a4796b7a38
[beta] Don't call it "derived state" ( #4301 )
I propose that "storing information from previous renders" sounds less like a _cool thing_ and also more clearly describes the rare cases this pattern is for.
3 years ago
Humberto
b86f35d87a
docs: fix typo in useState Adjusting derived state section ( #4300 )
3 years ago
Sophie Alpert
5d2a4e369a
[beta] Push people away more from setting state in render ( #4299 )
* [beta] Push people away more from setting state in render
* Backticks
3 years ago
Dan Abramov
6ebae122a4
Rm unused
3 years ago
Dan Abramov
77af71e359
tweak
3 years ago
Dan Abramov
b06f63219c
Clarify
3 years ago
Dan Abramov
12ca0d4327
Mention loops
3 years ago
Dan Abramov
b174aec9a9
Tweak
3 years ago
dan
881e0a0933
[Beta] Document derived state ( #4297 )
* [Beta] Document derived state
* shorten
3 years ago
Strek
1e79ed6890
Removes readme and contributing.md from generate heading lint ( #4295 )
* Removes readme and contributing.md from generate heading
* lint only markdowns in source
3 years ago
dan
73d7d13446
[Beta] Move /reference -> /apis ( #4294 )
* [Beta] Move /reference -> /apis
* come on
* Update CONTRIBUTING.md
* Update sidebarReference.json
3 years ago
lxmarinkovic
caffe3d08f
React-Meetup-Stockholm ( #4292 )
3 years ago
lxmarinkovic
fd585005fe
React-Global-2022 ( #4291 )
* React-Global-2022
* Update content/community/conferences.md
* react-global-edit
Co-authored-by: Strek <ssharishkumar@gmail.com>
3 years ago
Danilo Woznica
4d005ad7e0
fix(sandpack): disable init-mode ( #4278 )
3 years ago
Danilo Woznica
52393daffe
fix(useMediaQuery): adds fallback to matchMedia ( #4289 )
3 years ago
dan
001b1f021b
[Beta] useState API: Best of the both words? Haha just kidding... Unless?... ( #4284 )
* Dry version
* Here we go again
* Recreation lol
* Some tweaks (#4285 )
* tweaks
* edit
Co-authored-by: Sophie Alpert <git@sophiebits.com>
3 years ago
John Wade Linatoc
eb0ae240c3
Update courses.md ( #4282 )
Current Tyler McGinnis link no longer works. Updated it to the homepage instead.
3 years ago
Jerson Zúñiga-Coayla
5479670315
fix: typo ( #4279 )
3 years ago
dan
e6b843bb84
[Beta] Change useState structure, add examples ( #4276 )
* [Beta] Change useState structure, add examples
* Simpler language
* Nix when not to use it
3 years ago
dan
84742f0b0b
Fix typo
3 years ago
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
3 years ago
dan
42576e0e08
Bump workflow versions ( #4270 )
* Bump workflow versions
* Update beta_site_lint.yml
* Update nodejs.yml
3 years ago
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
3 years ago
Dan Abramov
c8ad67d379
Fix deps
3 years ago
Dan Abramov
7d1e054fb0
Remove unused patch
3 years ago
dan
abca1f4495
Use MDXContext directly ( #4267 )
* Use MDXContext directly
* yolo
3 years ago
dan
58d6f3f9fc
Prevent nav context re-renders ( #4266 )
3 years ago
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>
3 years ago
dan
38057903ec
[Beta] Reorder useState page ( #4265 )
3 years ago
Brennon Bortz
5f0549c86e
chore: fix typo ( #4255 )
Fix typo in quick start
3 years ago
dan
9ff30d6a58
Revert "Revert "Removed circle CI ( #4236 )" ( #4253 )" ( #4254 )
This reverts commit 4e20db714b
.
3 years ago
dan
4e20db714b
Revert "Removed circle CI ( #4236 )" ( #4253 )
This reverts commit e347b733c1
.
3 years ago
Strek
e1dcbffde1
bump next to latest ( #4251 )
3 years ago
Strek
e347b733c1
Removed circle CI ( #4236 )
3 years ago
Strek
43dae71ecb
Adds linting for main branch too ( #4252 )
3 years ago
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
3 years ago
dan
1c355ab630
[Beta] Change "You will learn" for chapters ( #4239 )
3 years ago
dan
b22c3d6865
[Beta] Rewrite Quick Start ( #4245 )
* [Beta] Rewrite Quick Start
* Tweaks
3 years ago
Dan Abramov
2b2ac5c3bf
Fix download label
3 years ago