Commit Graph

5630 Commits

Author SHA1 Message Date
dan
bc6310fd98 [Beta] Don't rely on special MDX props (#4991) 2022-09-06 00:24:23 +01:00
dan
6e21a2e5a8 [Beta] Move from MDX loader to getStaticPaths (#4990)
* Move Markdown from src/pages to src/content

* Use getStaticProps

* Fix Fast Refresh

* Clean up

* rm unused

* Fixes
2022-09-05 22:42:29 +01:00
zqran
fc4d44c44c [Beta] Add missing spaces (#4986) 2022-09-05 16:16:58 +01:00
zqran
0df0a05530 [Beta] clarify grammar (#4985) 2022-09-05 16:16:43 +01:00
Yanning
123a39a396 [Beta] Remove extra 'other' (#4987) 2022-09-05 16:16:22 +01:00
zqran
167b030818 [Beta] update handleClick() to handleClick (#4984) 2022-09-05 14:19:24 +01:00
Bryan Lee
102982abd2 [Beta] fix warning-keys (#4977) 2022-09-05 13:19:18 +01:00
zqran
41cde23ab0 [Beta] remove unnecessary parentheses and update quote content (#4983)
* [Beta] remove unused parentheses

* [Beta] change quote content

* [Beta] update quote content
2022-09-05 13:18:41 +01:00
Chandra Pratap Singh
e9faee62db corrects tutorial url for the flux blog (#4934)
The existing URL leads to a 404 page hence this PR updates it to the Github page containing the content for the tutorial.
2022-09-05 04:11:16 +01:00
JC (Jonathan Chen)
7e89958dc4 docs: fix grammar (#4949)
* docs: fix grammar

* Update strict-mode.md

Co-authored-by: dan <dan.abramov@gmail.com>
2022-09-05 04:09:51 +01:00
dan
1d8f8eb465 [Beta] Remount Page Content (#4981) 2022-09-05 04:08:14 +01:00
Bryan Lee
6103993884 [Beta] fix a broken link (#4979) 2022-09-05 04:02:41 +01:00
dan
0122c9aa8c [Beta] Use h4 for Challenge titles (#4980) 2022-09-05 04:01:18 +01:00
dan
42561f013a [Beta] Move MDX Preprocessing (#4976) 2022-09-04 23:33:43 +01:00
dan
ccf8576ab4 [Beta] Refactor Layouts (#4975)
* [Beta] Refactor Layouts

* TypeScript

* oops

* Make it work for all pages
2022-09-04 23:18:03 +01:00
zqran
23ae76f10a [Beta] add missing quotes (#4974) 2022-09-04 13:12:51 +01:00
Kid
2412995024 [Beta] fix a broken link (#4971) 2022-09-04 04:10:18 +01:00
zqran
6ba9424a14 [Beta] Clarify grammar (#4965)
* [Beta] Typo fix: Updated `Minds` to `Mind`

* Update keeping-components-pure.md

Co-authored-by: dan <dan.abramov@gmail.com>
2022-09-03 21:56:08 +01:00
Dan Abramov
4e8cc5f849 rm unused 2022-09-03 21:41:20 +01:00
Ricky
7db02fc01d [beta] Add escape hatches index page (#4957)
* [beta] Add escape hatches index page

* edits

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-09-03 21:39:52 +01:00
Guihua Ran
2d42098bc8 fix: reset showHint to false when click Next Challenge (#4948)
* fix: reset showHint to false when click Next Challenge

* Split Challenges into two components

* clean code, add  to flag whether the activeChallenge has changed to avoid scrolling to Chalenges when page mounted

* Simplify

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-09-03 18:26:32 +01:00
Kid
f2c9b60238 [Beta] Link to Getting Started guide in Parcel docs (#4967)
* [Beta] Link to React recipe in Parcel docs

* Pointing to web app guide instead
2022-09-03 17:54:15 +01:00
Kid
47483a3f6a [Beta] fix a broken link (#4968) 2022-09-03 15:58:46 +01:00
dan
e077d108df Bump stats 2022-09-02 19:51:24 +01:00
dan
3c99e76c96 [Beta] Challenges for Reusing Logic (#4963) 2022-09-02 18:57:32 +01:00
kaushalyap
b387ebb873 Updated "every 100" to "every 10" to match with the code (#4961) 2022-09-02 18:55:19 +01:00
Dan Abramov
808d6d1ede Make examples more distinct 2022-09-02 16:59:58 +01:00
Dan Abramov
ce6ba06a0f edits 2022-09-02 14:23:48 +01:00
dan
56f79c4806 [Beta] More info about custom hooks (#4960) 2022-09-02 06:56:27 +01:00
dan
da6a06e54b Revert "[beta] upgrade sandpack and refactor sandpack.css (#4843)" (#4959)
This reverts commit 537e0a354d.
2022-09-02 05:42:53 +01:00
dan
59c68a7baf [Beta] Reusing Logic with Custom Hooks (#4958) 2022-09-02 01:04:07 +01:00
Andreas Schlapbach
4b5c413054 Fixed a sentence (#4950) 2022-09-01 08:31:33 +02:00
dan
b1431f3752 [Beta] Challenges/Edits for Removing Effect Dependencies (#4952) 2022-09-01 03:10:28 +01:00
Dan Abramov
1319e8f55a Fix color 2022-09-01 03:03:40 +01:00
Danilo Woznica
537e0a354d [beta] upgrade sandpack and refactor sandpack.css (#4843)
* upgrade sandpack and address breaking changes

* remove unnecessaries fixes

* use Sandpack components instead reimplementing them

* refactor: sandpack.css

* fixes

* fix: sticky and syntax-highlight

Co-authored-by: dan <dan.abramov@gmail.com>
2022-08-31 23:35:37 +01:00
Omer Shahar
c6a79011e1 Update scaling-up-with-reducer-and-context.md (#4945) 2022-08-29 16:07:19 +05:30
Strek
ea9e9ab281 fix typos (#4938) 2022-08-28 11:45:58 +05:30
dan
c5a1acd165 Quick fix for misleading sentence 2022-08-28 02:14:38 +01:00
Dan Abramov
681a935276 Fix example to createRoot 2022-08-28 01:32:28 +01:00
Luna Ruan
98d6aec603 [Beta] Add Support for All Console Methods and Hide Console Panel if there is a Lint/Syntax Error (#4939)
* add console support for warnings and errors and hide console if there is an error

* fix issues

* nit

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-08-26 17:32:37 +01:00
dan
3b60bf4716 [Beta] Removing Effect Dependencies (#4936)
* wip

* meh

* wip

* tweaks

* [Beta] Removing Effect Dependencies

* fix

* twk

* typo
2022-08-26 01:57:27 +01:00
David McCabe
f829d8da08 Create Fragment API reference page (#4927)
* Create Fragment API reference page

* Minor formatting changes

Co-authored-by: Dave McCabe <davemccabe@fb.com>
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
2022-08-25 16:10:40 -04:00
Yousef M. El-Gohary
46ebdc87b8 Fix hydrate root link (#4937)
* add loading indicator to sidebar links

* fix link typo
2022-08-25 19:33:31 +01:00
Dan Abramov
605ad373c4 edits 2022-08-23 12:39:12 +01:00
Dan Abramov
5a9bacdc1a Add more nuance to explanation and challenge 2022-08-23 12:20:34 +01:00
Dan Abramov
cb3b246420 Fix typos 2022-08-23 03:44:00 +01:00
dan
7cd1755ee4 [Beta] Add more challenges (#4922)
* [Beta] Add challenges for useEvent

* more
2022-08-23 03:10:36 +01:00
Ricky
caaf3c7245 [beta] Add docs for old hydrate API (#4914)
* Add docs for old hydrate API

* Add suppression example
2022-08-22 13:22:17 -04:00
Dan Abramov
bf3df38310 [Beta] Add a deep dive 2022-08-22 17:53:39 +01:00
dan
37cf98d075 Update separating-events-from-effects.md 2022-08-20 02:48:37 +01:00