Commit Graph

321 Commits

Author SHA1 Message Date
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
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
dan
6d5fbad9a7 [Beta] Separating Events from Effects (#4913)
* wip

* wip

* wip

* wip

* more

* wip

* a bit more

* recap
2022-08-19 21:54:22 +01:00
Ricky
2890036c69 Add stub pages for all React and ReactDOM APIs (#4910)
* Add ReactDOM Client APIs

* Feedback fixes

* TODO and link fixes

* Update createRoot.md

* Nits

* Nits

* Update reactdomclient.md

* Update hydrateRoot.md

* Update hydrateRoot.md

* Update createRoot.md

* Update hydrateRoot.md

* createRoot tweaks

* bla

* tweaks

* tweaks

* tweak

* bump

* Add another troubleshooting error

* Add stubs for React.* APIs

* Add and organize remaining APIs

* Update links

* fix whitespace

* Add re-directs for old API URLs

* Fix some links

* Add StrictMode

Co-authored-by: dan <dan.abramov@gmail.com>
2022-08-19 12:42:44 -04:00
Ricky
c527d4ec4f [Beta] Add ReactDOM Client APIs (#4909)
* Add ReactDOM Client APIs

* Feedback fixes

* TODO and link fixes

* Update createRoot.md

* Nits

* Nits

* Update reactdomclient.md

* Update hydrateRoot.md

* Update hydrateRoot.md

* Update createRoot.md

* Update hydrateRoot.md

* createRoot tweaks

* bla

* tweaks

* tweaks

* tweak

* bump

* Add another troubleshooting error

Co-authored-by: dan <dan.abramov@gmail.com>
2022-08-19 11:38:15 -04:00
dan
4de082d220 Update createcontext.md 2022-08-18 18:11:49 +01:00
Mikhail Konin
5fed75dac5 Fix comma position (#4897)
Fix comma position at line 219 , in phrase When you need to "change things,"
2022-08-13 10:08:28 +05:30
Xuan Huang (黄玄)
8a6d966655 Add Robert Zhang (#4899) 2022-08-12 15:33:38 -07:00
Guihua Ran
4a87b19ef3 Remove the redundant code (#4898) 2022-08-12 14:07:24 +05:30
Joel Mathew Koshy
b162ea203c fixed incorrect function name in React.memo for IconDownload icon component (#4891) 2022-08-10 15:13:47 +01:00
Binoy Barman
47e1ce5d42 Update index.md (#4886) 2022-08-09 13:46:50 +02:00
Joel Mathew Koshy
4808a469fa [Beta] fixed grammatical typo in render-and-commit.md (#4881) 2022-08-07 17:20:30 +02:00
Shanmughapriyan S
37910882a2 fix: typo (#4876) 2022-08-06 00:52:51 +05:30
Dan Abramov
9fb359ffb2 Rm dead links 2022-08-05 19:54:13 +01:00
dan
5cea9c4f56 [Beta] Lifecycle of Reactive Effects (#4875)
* [Beta] Lifecycle of Reactive Effects

* rm future pages

* more
2022-08-05 19:51:57 +01:00
Joel Mathew Koshy
318981f9cd fixed having duplicate tailwind classes in pages/blog (#4872) 2022-08-05 06:39:01 +02:00
Shanmughapriyan S
a20f6378aa refactor: remove unused state (#4848) 2022-08-03 14:25:51 +05:30
rvgmiller
eed3bf3d57 Fix typo: Travel plan example (#4810)
* Fix typo: New Zealand in travel plan example

* Fix multiple typos of New Zealand in examples
2022-07-12 07:03:15 +05:30
Akul Srivastava
f67fa22cc1 fix: api links in content (#4806)
* fix: api reference links in content

* fix: link on react dom api page
2022-07-09 17:39:37 +05:30
Sunil
4d51741463 fix typo in passing-data-deeply-with-context.md (#4795)
* fix typo in passing-data-deeply-with-context.md

* Fix: typo
2022-07-07 22:33:59 +05:30
Strek
ee7705675d [Beta] Fix empty message styling in console (#4784)
* fixes empty messages added in console

* Revert "fixes empty messages added in console"

This reverts commit c978a82be6.

* add min height
2022-07-01 02:08:07 +01:00
dan
d8171faaca [Beta] Discourage derived state more (#4781)
* [Beta] Discourage derived state more

* reword
2022-06-28 19:46:48 +01:00
Akul Srivastava
807fff2850 fix: correct beta docs link in readme (#4779) 2022-06-28 22:16:36 +05:30
Danilo Woznica
eca969cd1f fix(sandpack): message listeners (#4778) 2022-06-27 17:36:57 +01:00
Balázs Orbán
c1c3d1db30 fix typos (#4767)
* fix typo

* Update you-might-not-need-an-effect.md

* Update you-might-not-need-an-effect.md
2022-06-23 01:13:52 +01:00
Dan Abramov
8fb5a45d60 typo fix 2022-06-22 23:31:59 +01:00
dan
5187ed6bbd [Beta] You Might Not Need an Effect (#4766) 2022-06-22 23:15:15 +01:00
Akul Srivastava
f71c82fcd4 fix(docs): remove redundancy (#4764) 2022-06-22 17:49:04 +05:30