Commit Graph

520 Commits

Author SHA1 Message Date
dan
e6bc8db08d [Beta] Remove some polyfills (#5158) 2022-10-06 21:07:33 +01:00
dan
9af5d8df69 [Beta] useImperativeHandle API (#5157) 2022-10-05 18:27:58 +01:00
Dan Abramov
fa30ccdd62 fix 2022-10-05 02:03:19 +01:00
Dan Abramov
6dcdaac51f tweaks 2022-10-05 01:52:56 +01:00
dan
f24bc196f4 [Beta] createElement API (#5154) 2022-10-05 01:38:07 +01:00
Dan Abramov
c741dd49e3 Fix 2022-10-05 00:17:09 +01:00
dan
a224f9d9ff [Beta] Accurate MDX line numbers (#5153) 2022-10-05 00:14:38 +01:00
dan
440741dde2 [Beta] isValidElement API (#5152) 2022-10-04 23:17:31 +01:00
Danilo Woznica
7b0e3bd99e [beta] Sandpack: fix package.json dependencies & remove cm-markdown dependency (#5151)
* Update 6 files

* Update 3 files

* Update _app.tsx and _document.tsx
2022-10-04 15:05:41 +01:00
Dan Abramov
b99298a57a oops 2022-10-04 14:04:51 +01:00
dan
8379534345 [Beta] useId API (#5150) 2022-10-04 14:02:36 +01:00
Dan Abramov
d9915ca59a fix 2022-10-04 11:34:44 +01:00
Dan Abramov
88a2e53024 fix typo 2022-10-04 11:34:26 +01:00
dan
1205097045 [Beta] Add Alternatives to createFactory API (#5149) 2022-10-04 11:23:20 +01:00
Arati Chilad
7de3a0bed7 [Beta] Added documentation for React.createFactory (#5120)
* Added documentation for React.createFactory

* Update beta/src/content/apis/react/createFactory.md

Co-authored-by: Strek <ssharishkumar@gmail.com>

* minor editorial updates (#2)

* Update createFactory.md

* Update createFactory.md

* edits

Co-authored-by: Strek <ssharishkumar@gmail.com>
Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-10-04 05:11:13 +01:00
Shanmughapriyan S
3a9b0c81e2 [beta] fix: cleanup resize listener (#4847) 2022-10-04 02:06:09 +01:00
Dan Abramov
45e3c1b295 [Beta] Fixes for install instructions 2022-10-03 23:35:39 +01:00
Thomas Cleary
664dd57362 [Beta] Fix typos in 'Lifecycle of Reactive Effects' challenge descriptions (#5142)
* [Beta] fix typo in lifecycle-of-reactive-effects challenge 3

* [Beta] fix typo in lifecycle-of-reactive-effects  challenge 5
2022-10-02 15:31:26 +05:30
Eugene Sviridov
fbd8c827fe Fix React Router 6.4+ link (#5135) 2022-09-29 08:02:29 +01:00
Dan Abramov
30316684c1 Fix link 2022-09-29 07:35:03 +01:00
dan
e30bfe8b7d [Beta] Add a survey (#5133)
* [Beta] Add a survey

* wording
2022-09-29 06:18:34 +01:00
Dan Abramov
b6983c3f52 Fix lint 2022-09-29 06:14:21 +01:00
Dan Abramov
d7761edc25 Bump API to 70% 2022-09-29 06:00:50 +01:00
Dan Abramov
9d7feb9e9e Tweak 2022-09-29 05:07:27 +01:00
Dan Abramov
004287e3c1 grammar 2022-09-29 04:56:59 +01:00
dan
f75d0e2518 [Beta] Don't nest components (#5132) 2022-09-29 04:52:54 +01:00
Dan Abramov
edd2f4e6ea typo 2022-09-29 04:17:10 +01:00
dan
8ae813f05c [Beta] useEffect API (#5103)
* [Beta] useEffect API

* tweaks

* tweak

* add a link

* wip

* keep guide stuff to guides

* moar

* meh
2022-09-29 03:57:48 +01:00
dan
54e6276f2f [Beta] Fix header IDs (#5128)
* Fix heading scripts

* [Beta] Fix header ID generation

* Fix headers

* Remove the Convention block breaking TOC

* Fix message
2022-09-28 19:05:10 +01:00
Dan Abramov
ea5810b7b5 tweak landing copy 2022-09-27 19:44:23 +01:00
Dan Abramov
28058807fa Remove bold from codestep 2022-09-27 19:42:09 +01:00
dan
931fd9657e [Beta] Exclude Markdown parser (#5123) 2022-09-27 19:30:57 +01:00
dan
ed37a7d8a6 [Beta] Disable runtime CSS-in-JS (#5122) 2022-09-27 17:41:24 +01:00
Dan Abramov
ab8c1a4810 Fix HTML and CSS highlighting 2022-09-26 17:34:48 +01:00
Dmitrii
1a692067de fix typo in useMemo() documentation [BETA] (#5119) 2022-09-26 17:06:53 +01:00
Thomas Cleary
2a083f974c [Beta] Remove unused prop from context examples (#5117)
* [Beta] remove unused prop from 'reducer-and-context' example

* [Beta] remove unused prop from useContext example

* [Beta] remove more more occurences of unused prop
2022-09-26 17:06:35 +01:00
dan
e3073b03a5 [Beta] Fix some CSS (#5114) 2022-09-25 20:00:59 +01:00
dan
4f04184f97 [Beta] Optimize editor re-renders (#5113) 2022-09-25 18:55:39 +01:00
Dan Abramov
c8bf6f8d93 [Beta] Fix CSS for long highlight lines 2022-09-25 17:16:56 +01:00
dan
6b4fe35703 [Beta] Fully SSR CodeBlock (#5110) 2022-09-25 16:18:45 +01:00
Thomas Cleary
2ad2bb3ce7 Fix typo (#5111) 2022-09-25 17:54:17 +05:30
dan
b59b64f386 [Beta] Upgrade to MDX 2 (#5107)
* [Beta] MDX 2

* Fix up old pages
2022-09-24 17:37:15 +01:00
dan
372f852f1e [Beta] Next patch to fail on errors (#5106) 2022-09-24 15:39:48 +01:00
Dan Abramov
477bafacf5 Revert "useEvent"
This reverts commit 807116a602.
2022-09-24 13:03:28 +01:00
Dan Abramov
fcd0ca3ec9 Revert "ts"
This reverts commit c865f07fde.
2022-09-24 13:03:21 +01:00
dan
402581e15f [Beta] Bump React/Next (#5105)
* [Beta] Upgrade React/Next

* useEvent

* ts
2022-09-24 12:49:25 +01:00
dan
4c37115f3f [Beta] Code style tweaks (#5104)
* Use named React imports

* More manual edits

* Remove displayNames

* rm dead code
2022-09-24 12:30:19 +01:00
dan
26fc12cf0a [Beta] Remove linter TODOs (#5102) 2022-09-24 02:02:32 +01:00
dan
d56aec2dd1 [Beta] Remove inline useEvent impl (#5101) 2022-09-23 22:58:50 +01:00
dan
bd0f7c02f0 [Beta] Use React versions from package.json (#5100) 2022-09-23 22:39:11 +01:00