Commit Graph

531 Commits

Author SHA1 Message Date
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
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