Danilo Woznica
a0bc4d2cf9
[Beta] fix(SandpackConsole): avoid unsubscribing the logs listeners ( #5093 )
...
* Update 3 files
* Delete console-issue.md
* Filter out console error addendum
Co-authored-by: dan <dan.abramov@gmail.com >
2022-09-22 16:13:53 +01:00
zqran
97cfcc019f
[Beta] Unified api format ( #5090 )
2022-09-22 15:14:09 +01:00
Dan Abramov
8a9efff83d
[Beta] Tweak loop guidance
2022-09-22 15:13:55 +01:00
kaushalyap
5812e54093
Removed extra closing curly braces from challenge 5 ( #5088 )
2022-09-22 03:11:44 +01:00
dan
f9d4dda88c
[Beta] useMemo & useCallback edits ( #5087 )
2022-09-22 01:17:30 +01:00
Dan Abramov
8f6a4bf59e
[Beta] Fix some dead links
2022-09-22 00:13:31 +01:00
zqran
d1fee87a0f
[Beta] fix typo ( #5082 )
2022-09-20 14:33:21 +01:00
Eugene Dzhumak
841d3d1b75
[Beta]: fix typo on you-might-not-need-an-effect ( #5077 )
...
fix typo on you-might-not-need-an-effect
2022-09-17 23:44:37 +01:00
dan
a6c164d66a
Fix a mistake
2022-09-17 20:47:41 +01:00
Simon Taranto
d83e0aa59c
Small typo fix with forwardRef ( #5075 )
2022-09-17 08:52:28 +02:00
kaushalyap
5bcae4f884
Fixed the challenge 4 expected output when initial state of "showForm" changed to false. Since there can be only one empty message when the initial state of "showForm" changed from true to false. ( #5071 )
2022-09-16 04:12:03 +01:00
Dan Abramov
75563fe679
Fix signature
2022-09-15 21:25:25 +01:00
Dan Abramov
76d14c8123
oops
2022-09-15 21:22:50 +01:00
David McCabe
8d63e0d219
[beta] Added memo API reference page ( #5059 )
...
* Create Fragment API reference page
* Minor formatting changes
* Create memo API reference page
* [beta] Dan's suggestions for memo
* Update beta/src/content/apis/react/memo.md
Co-authored-by: Strek <ssharishkumar@gmail.com >
* edits
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com >
Co-authored-by: Strek <ssharishkumar@gmail.com >
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2022-09-15 21:15:27 +01:00
Dan Abramov
da47b1a14b
Bump numbers
2022-09-15 20:28:08 +01:00
Dan Abramov
62d1ffef3e
tweak
2022-09-15 20:26:21 +01:00
Sebastian Silbermann
0813c24d78
[Beta] Ensure forwardRef API docs use pattern that ensures a display name ( #5070 )
2022-09-15 21:17:52 +02:00
dan
954ef33745
[Beta] lazy API ( #5069 )
2022-09-15 20:13:51 +01:00
Andrew Clark
5ceec201ae
[Beta] Initial API doc for Suspense ( #4955 )
...
* [Beta] Initial API doc for Suspense
This doesn't include everything but I think it's good enough for
a start.
I didn't add any interactive examples yet because I want to use the
`use` API, so I'll wait until that's documented.
* edits
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2022-09-15 19:41:14 +01:00
dan
ec0292bd25
[Beta] forwardRef API ( #5068 )
...
* Initial forwardRef draft
* more info
* more link
* oops
Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com >
2022-09-15 17:54:59 +01:00
Dan Abramov
348d1407ce
Fix formatting
2022-09-15 13:28:25 +01:00
dan
651d31ff6f
[Beta] Fragment edits ( #5067 )
...
* [Beta] Fragment edits
* Add some links
2022-09-15 13:23:24 +01:00
Ricky
fd46d48c05
[beta] Add flushSync docs ( #4930 )
...
* [beta] Add flushSync docs
* tweaks
* tweaks
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2022-09-15 12:37:48 +01:00
Dan Abramov
94e99f38d9
add a break
2022-09-15 12:18:11 +01:00
Dan Abramov
1517828434
tweak wording
2022-09-15 12:15:18 +01:00
Dan Abramov
e14de80de4
align wording
2022-09-15 12:09:31 +01:00
Dan Abramov
a6322a46a0
fix mistake
2022-09-15 11:52:19 +01:00
Dan Abramov
25ced88fef
emoji
2022-09-15 06:20:11 +01:00
Dan Abramov
8e422e03e9
stricter wording
2022-09-15 06:19:35 +01:00
Dan Abramov
176b93c964
[Beta] Higher-level comments in useCallback
2022-09-15 05:45:21 +01:00
dan
1ae8be5bbd
oops2
2022-09-15 04:08:58 +01:00
dan
e7115470bb
oops
2022-09-15 04:07:31 +01:00
dan
97865f8250
[Beta] Edits for useCallback ( #5064 )
2022-09-15 04:06:22 +01:00
David McCabe
4417760473
[beta] Remove 'each next' and 'every next' ( #5063 )
...
* [beta] Remove 'each next' and 'every next'
* Update beta/src/content/apis/react/useCallback.md
Co-authored-by: Ricky <2440089+rickhanlonii@users.noreply.github.com >
* Update separating-events-from-effects.md
* Update you-might-not-need-an-effect.md
Co-authored-by: Ricky <2440089+rickhanlonii@users.noreply.github.com >
Co-authored-by: dan <dan.abramov@gmail.com >
2022-09-15 03:50:43 +01:00
zqran
7f9358ed2a
[Beta] Update Describing the UI Doc content format ( #5039 )
...
* [Beta] Update `Describing the UI` Doc content format
* [Beta] Update link
* [Beta] Revert
2022-09-14 17:44:17 +01:00
zqran
70df3d9860
[Beta] Update links in API/react-dom Doc ( #5055 )
...
* [Beta] Update some document content format in API/react-dom Doc
* [Beta] Remove semicolon from intro
* [Beta] Add semicolon
2022-09-14 11:24:58 -04:00
zqran
ead88e2df8
[Beta] Update links and add semicolons in API/react Doc ( #5054 )
...
* [Beta] Update some document content format in API Doc
* [Beta] Remove semicolon from intro
* [Beta] Add semicolon
2022-09-14 15:14:38 +01:00
zqran
3fa19507af
[Beta] Update links and add fix MD syntax error in react-dom/client Doc ( #5056 )
...
* [Beta] Update some document content format in API/react-dom/client Doc
* [Beta] Remove semicolon from intro
2022-09-14 14:10:46 +01:00
Dan Abramov
4aafbe17a5
fix links
2022-09-14 13:34:06 +01:00
Dan Abramov
5e6357687d
Simplify example
2022-09-14 13:26:08 +01:00
Dan Abramov
8f03676dcf
Remove extra line
2022-09-14 13:25:00 +01:00
Dan Abramov
aea76d4958
tweak wording
2022-09-14 13:03:38 +01:00
dan
6001def102
[Beta] useCallback ( #5061 )
2022-09-14 05:27:13 +01:00
dan
8fc62a5715
[Beta] Fix double console logs in DEV ( #5060 )
2022-09-14 03:17:25 +01:00
Dan Abramov
58b4d0559c
[Beta] Fix printing objects
2022-09-14 02:48:56 +01:00
Dan Abramov
e4aa5076c2
Arg is optional
2022-09-13 17:48:46 +01:00
zqran
1c1a81ad44
[Beta] Changed the position of the period in API Doc ( #5053 )
2022-09-13 02:43:06 +01:00
dan
c5b6c1f726
Fix usage
2022-09-13 02:25:47 +01:00
dan
5b8f219a3a
[Beta] Split ReactDOM APIs ( #5052 )
2022-09-13 01:49:50 +01:00
Dan Abramov
f99a7fd181
Focus on more important point
2022-09-13 00:49:38 +01:00