dan
7d615adec3
[Beta] useState Troubleshooting ( #4309 )
* [Beta] useState Troubleshooting
* Tweaks
* tweak
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
dan
73d7d13446
[Beta] Move /reference -> /apis ( #4294 )
* [Beta] Move /reference -> /apis
* come on
* Update CONTRIBUTING.md
* Update sidebarReference.json
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
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
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
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
Strek
51105970b7
Removed google analytics for dev ( #4233 )
3 years ago
R Nabors
b1f91c92f4
Analytics for Beta ( #4224 )
* adding google analytics metrics to beta
* adding google analytics metrics to beta
3 years ago
Juyeong Byeon
9ed29b0df6
fix: "…" spread syntax is not an "operator" but document saying that is an "operator" so it can make developers confused ( #4209 )
3 years ago
Vaibhav Shukla
af768b4618
FIXED: broken 'translated' link ( #4223 )
* FIXED: broken 'translated' link
removed broken weblink which leads to 404 page
* FIXED: broken 'translation' link
3 years ago
Lukasz Baranowski
b41b1dc356
Docs - phrasing sentence in conditional rendering article ( #4196 )
3 years ago
Ahmet Faruk Yılmaz
ee304b6aae
Fix typo in Removing from an array part ( #4171 )
3 years ago
Sofya Tuymedova
014f4890dc
docs: fix a typo ( #4166 )
3 years ago
bigfang
7d9c9e80d2
fix slice() link ( #4156 )
3 years ago
yang
aa70dcedc6
fix: correct the link to navigate to the team page ( #4146 )
* fix: correct the link to navigate to the team page
* remove .html
Co-authored-by: Strek <harish.sethuraman@freshworks.com>
3 years ago
CatsAndDogs123
86eb509781
[fix]: add-listner is deprecated, switched those to add-event-listner ( #4093 )
3 years ago
Soichiro Miki
a655e410fa
Fix a typo ( #4138 )
3 years ago
Strek
3f3e109ad7
Fix markdown comment breakage in community page ( #4127 )
3 years ago
Marek Bodinger
0057efa12c
Fix description to match code in referencing-values-with-refs.md ( #4097 )
3 years ago
Sofya Tuymedova
d8800be079
chore: fix typos ( #4121 )
3 years ago
Strek
c6353b9853
chore: fix typo ( #4104 )
3 years ago
Titus
4022f9774b
Use custom ID format that works better with MDX 2 ( #4105 )
* Fix two unicode whitespaces which are invalid
* Use custom ID format that works better with MDX 2
* Fix sebastian
* remark-slug as dev dep
3 years ago
harish-sethuraman
64e236cf84
Typo fixes ( #4091 )
* chore: fix typo
* Update referencing-values-with-refs.md
* Fix typo of typo
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
3 years ago
Alexey Pyltsyn
e206d8cdf1
Set page layout dynamically ( #4084 )
3 years ago
Alexey Pyltsyn
0b7fd7b7a4
Add git hook to generate headings ids ( #4043 )
* Add git hook to generate headings ids
* Fixes "Analyze Bundle" workflow
3 years ago
harish-sethuraman
8333b6d127
Fixes wrong breadcrumb for 404 page ( #4074 )
* Fixes wrong breadcrumb for 404 page
* Change Home as default layout
* Add layout Learn to the pages inside learn
3 years ago
Dan Abramov
b761b81322
Fix typo
3 years ago
harish-sethuraman
967bf1f152
Update doc ( #4077 )
3 years ago
beet
7f995398f4
Fix alternative solution to add and remove a CSS class ( #4027 ) ( #4072 )
* Fix alternative solution to add and remove a CSS class (#4027 )
* Update reacting-to-input-with-state.md
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
3 years ago
Dan Abramov
f288a83f2d
Fix typo
3 years ago
harish-sethuraman
ef8ec922d0
Fix typos ( #4042 )
3 years ago
Dan Abramov
a9a04fe59e
Typo
3 years ago
harish-sethuraman
5ba0ad88b8
Take system's theme for the beta site ( #4022 )
* Take system's theme for the site
* Add IIFE for dark mode in document load and preserve in localStorage
* Add types
* Fix SSR and respect override
Co-authored-by: Dan Abramov <dan.abramov@me.com>
3 years ago
eastcoasting
58196f0305
Fix case-sensitive search term in example. ( #4024 )
* Fix case-sensitive search term in example.
Converting both the name and search value to lowercase solves case sensitive searching.
* Update thinking-in-react.md
* Update thinking-in-react.md
* Update thinking-in-react.md
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
3 years ago