Commit Graph

5605 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
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
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
Luciano Ayres
d223fbd476 Rephrase sentence (#4880)
Rephrase sentence referring to the single legacy method of 'UNSAFE_comonentWillMount()' on the Notes section within the 'Mounting' topic.
2022-08-09 10:21:06 +05:30
Peter Hauke
d2deddfb6d Change plural sentence to singular (#4758) 2022-08-09 10:18:56 +05:30
Dina
142c20780d Update meetups.md (#4827) 2022-08-09 10:12:33 +05:30
椿楸冥灵
0bf79b420b fix: update all immutable js broken link (#4885)
Immutable.js link https://facebook.github.io/immutable-js/ is now 404, change them to the correct address https://immutable-js.com/.
2022-08-08 10:57:01 +05:30
Joel Mathew Koshy
4808a469fa [Beta] fixed grammatical typo in render-and-commit.md (#4881) 2022-08-07 17:20:30 +02:00
Aroyan
7c3e6dc55c fix: update immutable js broken link (#4878) 2022-08-06 13:12:54 +02:00
Aroyan
8e0b6584f6 fix: update sinon fake timers broken link (#4879)
* fix: update broken link for Colorable

Update broken link for Colorable in Color contrast section

* fix: update broken sinon fake timers broken link
2022-08-06 14:51:16 +05:30
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
Sophie Alpert
e42f16e49c Reword "Invalid ARIA Prop Warning" advice (#4844) 2022-08-05 11:33:42 -07:00
AbdelRahman Hatem
6fa9dedb72 Fix Robin Pokorny’s article link (#4867)
Fix Robin Pokorny’s Index as a key is an anti-pattern article link
Notes:
Link is not working neither in my PC nor my phone.
I tried to open it in incognito browser and didn't work.
I don't know the website works in all countries or not but here in Cairo, Egypt doesn't work.
And this is not the first link I encountered doesn't work
2022-08-05 18:14:53 +01:00
Joel Mathew Koshy
318981f9cd fixed having duplicate tailwind classes in pages/blog (#4872) 2022-08-05 06:39:01 +02:00
Theviyanthan Krishnamohan
efbe84e52d Fix a typo (#4870) 2022-08-04 11:01:06 +05:30
Shanmughapriyan S
a20f6378aa refactor: remove unused state (#4848) 2022-08-03 14:25:51 +05:30
Ben Amor Aymen
671cd2aa60 Fix event links for React Brussels 2022 (#4863)
Co-authored-by: Aimen Ben Amor <aba@emakina.com>
2022-08-02 23:01:37 +02:00