Commit Graph

6064 Commits

Author SHA1 Message Date
Dan Abramov
9eca28fc79 Tweak header 2022-12-14 03:30:45 +00:00
Ricky
c2566a56c0 [beta] Add findDOMNode (#5357)
* [beta] Add findDOMNode

* info

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-12-14 03:25:13 +00:00
Ricky
bad27d1a04 [beta] Add StrictMode docs (#5340)
* [beta] Add StrictMode docs

* More usages

* Remove WIP

* Add legacy string refs

* Add legacy context

* stuff

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-12-13 20:02:19 +00:00
Mihail (Михаил)
ca61341e6f [Beta] Fixed a dead link in useTransition.md (#5356)
In the paragraph:
```
You can wrap an update into a transition only if you have access to the set function of that state. If you want to start a transition in response to some prop or a custom Hook return value, try useDeferredValue instead.
```

The "useDeferredValue" link pointed to "usedeferredvalue" which is an invalid URL, this commit fixes that.
2022-12-13 04:08:07 +00:00
Toru Okugawa (Tanaka)
cfa9498466 Fix link to new URL (#5281) 2022-12-12 18:51:04 +00:00
ashrene-roy
6031b0005f [beta] Fix Chai recipe in docs (#5342)
* [beta] Fix Chai recipe in docs

* Cut down recipe to 3 points

* Adjust explanation

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-12-12 18:49:03 +00:00
Dan Abramov
45b1068b69 [Beta] Fix some code blocks 2022-12-12 18:32:01 +00:00
dan
c68c36f73b [Beta] Profiler API (#5355) 2022-12-12 17:57:10 +00:00
dan
8bf3b48576 [Beta] startTransition API (#5354) 2022-12-12 17:06:28 +00:00
dan
c883f623d5 typo 2022-12-11 03:31:18 +00:00
Dan Abramov
84efcd3d88 [Beta] Edits to hydrateRoot 2022-12-11 02:24:06 +00:00
Shu Ding
01ec2448eb fix typo (#5343) 2022-12-11 02:04:12 +00:00
dan
b2e8dbf9ef [Beta] renderToReadableStream API (#5346) 2022-12-11 01:50:16 +00:00
Dan Abramov
e6587b3cb3 edits 2022-12-11 00:22:10 +00:00
dan
d1a3e175bb Typo 2022-12-09 18:57:55 +00:00
dan
0e508cb1ab Typo 2022-12-09 18:51:59 +00:00
dan
3bd9bed291 [Beta] renderToPipeableStream API (#5339)
* [Beta] renderToPipeableStream API

* typo

* tweak

* fix

* ok

* twk
2022-12-09 17:22:53 +00:00
Dhaval Laiya
cc1687bd3c [Beta] Fix a word from useMemo to useCallback (#5334) 2022-12-08 20:37:14 +00:00
Joseph Savona
e544ae482c Update team pages (#5329)
* [wip] update team page

* Update old site and alumni

* Add more team members

* Update old page too

* Shrink images

* Add remaining people on updated team pages (#5327)

* updates

* remove active members from acknowledgements

* mobile styles for social/links

* update jason image

* clarify Jasons role

* image alt text

* Move all content into <TeamMember> incl headers

* icon for personal site links

* update TOC to extract beyond top-level elements

* cleanup

* github link should...point to github. oops

* this can no longer be described as a small team

* Update beta/src/content/learn/meet-the-team.md

* Update content/community/team.md

Co-authored-by: Sathya Gunasekaran <gsathya.ceg@gmail.com>

Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
Co-authored-by: lauren <poteto@users.noreply.github.com>
Co-authored-by: Sathya Gunasekaran <gsathya.ceg@gmail.com>
2022-12-08 08:34:05 -08:00
Raku Zeta
a2347881a6 Update reusing-logic-with-custom-hooks.md (#5331) 2022-12-08 00:59:20 +00:00
dan
a08caba2f1 [Beta] Docs Contributors page (#5330) 2022-12-08 00:57:29 +00:00
Ricky
c086b134db [beta] Add unmountComponentAtNode (#5328)
* [beta] Add unmountComponentAtNode

* Feedback

* edits and harsher deprecations

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-12-08 00:56:46 +00:00
Dan Abramov
47916ff271 [Beta] Fix broken links 2022-12-08 00:25:22 +00:00
Dan Abramov
e3429656ae Consistency naming tweaks 2022-12-08 00:21:09 +00:00
Dan Abramov
583f9a79a5 Add missing stub for Profiler 2022-12-07 22:01:45 +00:00
dan
51f0d2d76e [API] Legacy renderTo* SSR methods (#5326) 2022-12-07 21:59:59 +00:00
Jing Jiawei
2e539fa81d [Beta] Anchor for individual challenges & deepdive (#5318)
* [Beta] open deepdive content once access

* [Beta] anchor individual challenges

* [Beta] fix challenges anchor scroll when multiple

* [Beta] refactor chanllenges anchor effects

Co-authored-by: Jiawei.Jing <jiawei.jing@ambergroup.co.jp>
2022-12-07 16:50:50 +00:00
dan
640f42ef71 [Beta] useSyncExternalStore API (#5325) 2022-12-07 16:38:46 +00:00
Eliot Sanford
2246611e35 fix: correct order of future conference dates content (#5307)
Co-authored-by: Eliot Sanford <eliot_sanford@glic.com>
2022-12-06 21:44:38 +01:00
dan
e162995194 [Beta] useTransition API (#5311)
* [Beta] useTransition API

* rewrite

* bump example

* fix

* clarify
2022-12-06 00:26:58 +00:00
dan
5414129fae [Beta] Update the bundler (#5319) 2022-12-05 17:43:14 +00:00
Jing Jiawei
cb9854a549 [Beta] Add link anchor for ExpandableExample (Deep Dive) (#5310)
* [Beta] add link anchor for expandable example

* [Beta] Rewrite Suspense API, add useDeferredValue API (#5308)

* [Beta] Rewrite Suspense API

* edits

* more udv

* edits

* edit

* more ref

* extract

* Temporary remove use

* [Beta] deep dive title reuse existing mechanism

* [Beta] adjust deep dive MDX format

* [Beta] fix deep dive MDX format mismatch

* [Beta] optional chain the condition for ReactNode

* Update the link to the Node.js stream module (#5298)

Fix #5297.

* [Beta] Add deps to useEffect example

* [Beta] throw error if no title found in deepdive

* [Beta] fix throw error in tsx

* Update acdlite picture (#5313)

I kinda like this one more

* [Beta] add link anchor for expandable example

* [Beta] deep dive title reuse existing mechanism

* [Beta] adjust deep dive MDX format

* [Beta] fix deep dive MDX format mismatch

* [Beta] optional chain the condition for ReactNode

* [Beta] throw error if no title found in deepdive

* [Beta] fix throw error in tsx

* [Beta] adjust deep dive MDX format

Co-authored-by: Jiawei.Jing <jiawei.jing@ambergroup.co.jp>
Co-authored-by: dan <dan.abramov@gmail.com>
Co-authored-by: Fuqiao Xue <xfq@w3.org>
Co-authored-by: Andrew Clark <git@andrewclark.io>
2022-12-02 21:35:27 +00:00
Andrew Clark
2e7b147db1 Update acdlite picture (#5313)
I kinda like this one more
2022-12-02 15:42:03 -05:00
dan
b3b6eddea8 [Beta] Add deps to useEffect example 2022-12-02 17:00:41 +00:00
Fuqiao Xue
2128e1e7d2 Update the link to the Node.js stream module (#5298)
Fix #5297.
2022-12-02 15:42:55 +00:00
dan
ed20748d8f [Beta] Rewrite Suspense API, add useDeferredValue API (#5308)
* [Beta] Rewrite Suspense API

* edits

* more udv

* edits

* edit

* more ref

* extract

* Temporary remove use
2022-12-01 20:16:32 +00:00
Ricky
f35d831c92 Fix key error (#5302) 2022-11-29 12:43:42 -05:00
Adam Klein
a05c1d9405 Add ReactNext 2023 (#5300) 2022-11-29 16:46:44 +05:30
Dan Abramov
eef09103ab Rename 2022-11-28 16:47:16 +00:00
Dan Abramov
b562a4f367 Rename breadcrumb 2022-11-28 16:46:14 +00:00
dan
1a641bb88e [Beta] Revamp navigation (#5287)
* [Beta] Split API reference

* Learn | Hooks | APIs

* tsc

* nav changes

* redirects and url changes

* twk

* alt take

* fix;

* wip

* nav?

* tsc

* twk

* tweaks

* index pages

* cleanup

* undo changes

* edits

* edits
2022-11-25 20:13:59 +00:00
Andrew Brennan
5beee0a227 fix: Use relative LICENSE-DOCS path in README (#5294) 2022-11-25 19:38:14 +00:00
Marcel Reis Soubkovsky
2381149963 chore: its -> it is, to 1 line (#5292) 2022-11-26 00:57:35 +05:30
uthbees
c19a34bdd3 Fix typo in bookmark (#5279) 2022-11-22 18:41:06 +05:30
Dan Abramov
2896038b1f [Beta] Remove nav fadein
It's pretty distracting when switching tabs.
2022-11-21 15:54:10 +00:00
Kunal Tiwari
e50e5634cc Added undefined to in the list of possible return types of render function (#5275)
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2022-11-18 22:01:38 +01:00
Ahmad Madany
1503e6b55c [Beta] Fix Defining frameId in useAnimationLoop (#5277) 2022-11-18 16:54:02 +00:00
dan
28f30b4994 Fix typo 2022-11-16 23:12:26 +00:00
Dan Abramov
543db5ba6d Fix title 2022-11-16 22:31:26 +00:00
dan
5e5eb21c02 [Beta] useDebugValue API (#5272) 2022-11-16 22:29:02 +00:00