Commit Graph

543 Commits

Author SHA1 Message Date
zz
e21b37c8cc [Beta] Add missing dependencies (#5220) 2022-10-29 11:01:02 +02:00
Sukka
f4d42d6cfd [Beta] fix typo in apis/react/cloneElement (#5201) 2022-10-29 10:31:04 +02:00
Danilo Woznica
8ab1291909 [Beta] Sandpack: fix accessibility issue on Codeeditor (#5216)
* Update package.json and yarn.lock

* Update package.json and yarn.lock

* Update package.json and yarn.lock

* Update package.json and yarn.lock
2022-10-28 09:43:28 -10:00
Danilo Woznica
8a22e6e6ca [Beta] Sandpack bundler improvements (#5164)
* cache babel assets

* Update SandpackRoot.tsx

* Update NavigationBar.tsx

* Update SandpackRoot.tsx

* Update 7 files

* Update 6 files

* Update 6 files

* Update LoadingOverlay.tsx

* Update Preview.tsx

* Update LoadingOverlay.tsx

* Update 4 files

* Update beta/src/components/MDX/Sandpack/LoadingOverlay.tsx

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>

* Update sandpack.css

* Update Preview.tsx and SandpackRoot.tsx

* Update 3 files

* Update ErrorMessage.tsx and Preview.tsx

* Update Preview.tsx

* Update SandpackRoot.tsx

* Update Preview.tsx

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
2022-10-25 01:57:41 -07:00
dan
d483aebbac [Beta] cloneElement API (#5194) 2022-10-19 20:13:48 +01:00
Sebastian Silbermann
36656af692 [beta] Fix typo on apis/react-dom/render (#5191)
* [beta] Fix typo on apis/react-dom/render

* Update render.md

Co-authored-by: dan <dan.abramov@gmail.com>
2022-10-19 17:43:53 +01:00
Dan Abramov
d0a809a44c [Beta] Note on Children vs children 2022-10-19 15:59:12 +01:00
Dane Grant
7e98d1f6f9 fix(beta): removes debug console.log (#5189) 2022-10-19 15:20:45 +01:00
Jabriel
e698f2f30c [beta] broken links in updating-objects-in-state (#5190)
* fix: broken link for render-and-commt

* fix(beta): broken link to `/apis/react/memo`
2022-10-19 15:19:43 +01:00
dan
0867cc17d3 [Beta] Show illustration credit on hover/tap (#5188)
* [beta] Show `AuthorCredit` on hover and focus

* Move attribution to top

* Styling and stuff

Co-authored-by: Dan Lebowitz <dan.lebo@me.com>

Co-authored-by: Mayank <9084735+mayank99@users.noreply.github.com>
Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
2022-10-18 19:18:05 +01:00
Dan Abramov
415751c190 [Beta] Remove superfluous IllustrationBlock title prop 2022-10-18 18:58:40 +01:00
Melissa Thai
30cafefc9e Fix 'queueing a series of state changes->updates' typo in beta docs (#5187) 2022-10-18 18:12:54 +01:00
dan
c69ff23653 Revert "Scroll behavior (#5182)" (#5186)
This reverts commit 641f20a9b5.
2022-10-18 16:31:59 +01:00
Jabriel
ec6c6739f0 fix: broken link for render-and-commt (#5184) 2022-10-18 14:44:37 +05:30
Adnan Is-haq Olamilekan
641f20a9b5 Scroll behavior (#5182)
* Make HTML scroll behavior smooth.

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth.

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Update beta/src/styles/algolia.css

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

* Update src/css/algolia.css

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

* Update beta/src/styles/sandpack.css

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

Co-authored-by: Strek <ssharishkumar@gmail.com>
2022-10-17 22:32:56 +05:30
Shanmughapriyan S
8fe817e61e [Beta] fix: gutter overlap with sandpack code on mobile (#5170)
* fix: gutter overlap

* chore: move horizontal scrollbar to code-content
2022-10-16 22:26:39 +01:00
Alvar Lagerlöf
d07016aea8 [Beta] Rename Gotcha component to Pitfall (#5172)
The visible name on the site was already Pitfall since a while back, this makes the components use that name too.
2022-10-09 23:56:33 +01:00
Thomas Cleary
9ccea25219 [Beta] fix typo in 'Removing Effect Dependencies' (#5167) 2022-10-08 10:52:00 +02:00
dan
fba9eabb9e remove unused imports 2022-10-07 23:54:48 +01:00
dan
06ab241633 [Beta] Children API (#5163)
* [Beta] Children API

* tweak

* wip
2022-10-07 19:46:50 +01:00
dan
3ac36ffd9c [Beta] Fix code styles (#5162) 2022-10-07 03:36:15 +01:00
dan
25d45897c0 [Beta] Prefetch CodeBlock (#5159) 2022-10-07 00:05:51 +01:00
Danilo Woznica
f3420fdc56 [beta] Sandpack: provide bare components and move styles (#5124)
* Update 6 files

* Update _document.tsx

* Update _document.tsx

* Update _document.tsx

* Update .env.production

* Update package.json and yarn.lock

* editor style

* file tab

* loading

* loading

* tweaks

* tweak

* bump sandpack

* remove test page

* Remove stitches from the bundle

* apply ios fix only for playground

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-10-06 21:18:23 +01:00
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