Skip to content

Commit 291b677

Browse files
committed
docs: fix typos and update links to HTTPS/legacy subdomain
1 parent 2c7798d commit 291b677

File tree

4 files changed

+34
-34
lines changed

4 files changed

+34
-34
lines changed

src/content/blog/2020/12/21/data-fetching-with-react-server-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you want to check them out, we recommend going in the following order:
2727

2828
1. **Watch the talk** to learn about React Server Components and see the demo.
2929

30-
2. **[Clone the demo](http://github.com/reactjs/server-components-demo)** to play with React Server Components on your computer.
30+
2. **[Clone the demo](https://github.com/reactjs/server-components-demo)** to play with React Server Components on your computer.
3131

3232
3. **[Read the RFC (with FAQ at the end)](https://github.com/reactjs/rfcs/pull/188)** for a deeper technical breakdown and to provide feedback.
3333

src/content/community/conferences.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ October 22-23, 2021. In-person in London, UK + remote (hybrid event)
493493
### React Conf Brasil 2021 {/*react-conf-brasil-2021*/}
494494
October 16, 2021 - remote event
495495

496-
[Website](http://reactconf.com.br) - [Twitter](https://twitter.com/reactconfbr) - [Slack](https://react.now.sh) - [Facebook](https://facebook.com/reactconf) - [Instagram](https://instagram.com/reactconfbr) - [YouTube](https://www.youtube.com/channel/UCJL5eorStQfC0x1iiWhvqPA/videos)
496+
[Website](https://reactconf.com.br) - [Twitter](https://twitter.com/reactconfbr) - [Slack](https://react.now.sh) - [Facebook](https://facebook.com/reactconf) - [Instagram](https://instagram.com/reactconfbr) - [YouTube](https://www.youtube.com/channel/UCJL5eorStQfC0x1iiWhvqPA/videos)
497497

498498
### React Brussels 2021 {/*react-brussels-2021*/}
499499
October 15, 2021 - remote event
@@ -598,7 +598,7 @@ October 19, 2019 in São Paulo, BR
598598
### React Advanced 2019 {/*react-advanced-2019*/}
599599
October 25, 2019 in London, UK
600600

601-
[Website](https://reactadvanced.com) - [Twitter](http://twitter.com/reactadvanced) - [Facebook](https://www.facebook.com/ReactAdvanced) - [Videos](https://youtube.com/c/ReactConferences)
601+
[Website](https://reactadvanced.com) - [Twitter](https://twitter.com/reactadvanced) - [Facebook](https://www.facebook.com/ReactAdvanced) - [Videos](https://youtube.com/c/ReactConferences)
602602

603603
### React Conf 2019 {/*react-conf-2019*/}
604604
October 24-25, 2019 in Henderson, Nevada USA
@@ -608,7 +608,7 @@ October 24-25, 2019 in Henderson, Nevada USA
608608
### React Alicante 2019 {/*react-alicante-2019*/}
609609
September 26-28, 2019 in Alicante, Spain
610610

611-
[Website](http://reactalicante.es/) - [Twitter](https://twitter.com/reactalicante) - [Facebook](https://www.facebook.com/ReactAlicante)
611+
[Website](https://reactalicante.es/) - [Twitter](https://twitter.com/reactalicante) - [Facebook](https://www.facebook.com/ReactAlicante)
612612

613613
### React India 2019 {/*react-india-2019*/}
614614
September 26-28, 2019 in Goa, India
@@ -673,7 +673,7 @@ June 11, 2019. Tel Aviv, Israel
673673
### React Conf Armenia 2019 {/*react-conf-armenia-2019*/}
674674
May 25, 2019 in Yerevan, Armenia
675675

676-
[Website](https://reactconf.am/) - [Twitter](https://twitter.com/ReactConfAM) - [Facebook](https://www.facebook.com/reactconf.am/) - [YouTube](https://www.youtube.com/c/JavaScriptConferenceArmenia) - [CFP](http://bit.ly/speakReact)
676+
[Website](https://reactconf.am/) - [Twitter](https://twitter.com/ReactConfAM) - [Facebook](https://www.facebook.com/reactconf.am/) - [YouTube](https://www.youtube.com/c/JavaScriptConferenceArmenia) - [CFP](https://bit.ly/speakReact)
677677

678678
### ReactEurope 2019 {/*reacteurope-2019*/}
679679
May 23-24, 2019 in Paris, France
@@ -683,7 +683,7 @@ May 23-24, 2019 in Paris, France
683683
### React.NotAConf 2019 {/*reactnotaconf-2019*/}
684684
May 11 in Sofia, Bulgaria
685685

686-
[Website](http://react-not-a-conf.com/) - [Twitter](https://twitter.com/reactnotaconf) - [Facebook](https://www.facebook.com/events/780891358936156)
686+
[Website](https://react-not-a-conf.com/) - [Twitter](https://twitter.com/reactnotaconf) - [Facebook](https://www.facebook.com/events/780891358936156)
687687

688688
### ReactJS Girls Conference {/*reactjs-girls-conference*/}
689689
May 3, 2019 in London, UK
@@ -713,7 +713,7 @@ March 30-31, 2019 in San Francisco, USA
713713
### React Iran 2019 {/*react-iran-2019*/}
714714
January 31, 2019 in Tehran, Iran
715715

716-
[Website](http://reactiran.com) - [Instagram](https://www.instagram.com/reactiran/)
716+
[Website](https://reactiran.com) - [Instagram](https://www.instagram.com/reactiran/)
717717

718718
### React Day Berlin 2018 {/*react-day-berlin-2018*/}
719719
November 30, Berlin, Germany
@@ -733,22 +733,22 @@ October 25-26 in Henderson, Nevada USA
733733
### React Conf Brasil 2018 {/*react-conf-brasil-2018*/}
734734
October 20 in Sao Paulo, Brazil
735735

736-
[Website](http://reactconfbr.com.br) - [Twitter](https://twitter.com/reactconfbr) - [Facebook](https://www.facebook.com/reactconf)
736+
[Website](https://reactconfbr.com.br) - [Twitter](https://twitter.com/reactconfbr) - [Facebook](https://www.facebook.com/reactconf)
737737

738738
### ReactJS Day 2018 {/*reactjs-day-2018*/}
739739
October 5 in Verona, Italy
740740

741-
[Website](http://2018.reactjsday.it) - [Twitter](https://twitter.com/reactjsday)
741+
[Website](https://2018.reactjsday.it) - [Twitter](https://twitter.com/reactjsday)
742742

743743
### React Boston 2018 {/*react-boston-2018*/}
744744
September 29-30 in Boston, Massachusetts USA
745745

746-
[Website](http://www.reactboston.com/) - [Twitter](https://twitter.com/ReactBoston)
746+
[Website](https://www.reactboston.com/) - [Twitter](https://twitter.com/ReactBoston)
747747

748748
### React Alicante 2018 {/*react-alicante-2018*/}
749749
September 13-15 in Alicante, Spain
750750

751-
[Website](http://reactalicante.es) - [Twitter](https://twitter.com/ReactAlicante)
751+
[Website](https://reactalicante.es) - [Twitter](https://twitter.com/ReactAlicante)
752752

753753
### React Native EU 2018 {/*react-native-eu-2018*/}
754754
September 5-6 in Wrocław, Poland
@@ -773,7 +773,7 @@ August 18 in Guangzhou, China
773773
### React Rally 2018 {/*react-rally-2018*/}
774774
August 16-17 in Salt Lake City, Utah USA
775775

776-
[Website](http://www.reactrally.com) - [Twitter](https://twitter.com/reactrally)
776+
[Website](https://www.reactrally.com) - [Twitter](https://twitter.com/reactrally)
777777

778778
### Chain React 2018 {/*chain-react-2018*/}
779779
July 11-13 in Portland, Oregon USA
@@ -794,7 +794,7 @@ May 17-18 in Paris, France
794794
### React.NotAConf 2018 {/*reactnotaconf-2018*/}
795795
April 28 in Sofia, Bulgaria
796796

797-
[Website](http://react-not-a-conf.com/) - [Twitter](https://twitter.com/reactnotaconf) - [Facebook](https://www.facebook.com/groups/1614950305478021/)
797+
[Website](https://react-not-a-conf.com/) - [Twitter](https://twitter.com/reactnotaconf) - [Facebook](https://www.facebook.com/groups/1614950305478021/)
798798

799799
### React Finland 2018 {/*react-finland-2018*/}
800800
April 24-26 in Helsinki, Finland
@@ -809,7 +809,7 @@ April 13 in Amsterdam, The Netherlands
809809
### React Native Camp UA 2018 {/*react-native-camp-ua-2018*/}
810810
March 31 in Kiev, Ukraine
811811

812-
[Website](http://reactnative.com.ua/) - [Twitter](https://twitter.com/reactnativecamp) - [Facebook](https://www.facebook.com/reactnativecamp/)
812+
[Website](https://reactnative.com.ua/) - [Twitter](https://twitter.com/reactnativecamp) - [Facebook](https://www.facebook.com/reactnativecamp/)
813813

814814
### Reactathon 2018 {/*reactathon-2018*/}
815815
March 20-22 in San Francisco, USA
@@ -824,7 +824,7 @@ March 8-9 in London, UK
824824
### AgentConf 2018 {/*agentconf-2018*/}
825825
January 25-28 in Dornbirn, Austria
826826

827-
[Website](http://agent.sh/)
827+
[Website](https://agent.sh/)
828828

829829
### ReactFoo Pune {/*reactfoo-pune*/}
830830
January 19-20, Pune, India
@@ -839,7 +839,7 @@ December 2, Berlin, Germany
839839
### React Seoul 2017 {/*react-seoul-2017*/}
840840
November 4 in Seoul, South Korea
841841

842-
[Website](http://seoul.reactjs.kr/en)
842+
[Website](https://seoul.reactjs.kr/en)
843843

844844
### ReactiveConf 2017 {/*reactiveconf-2017*/}
845845
October 25–27, Bratislava, Slovakia
@@ -859,22 +859,22 @@ October 13 in Stockholm, Sweden
859859
### React Conf Brasil 2017 {/*react-conf-brasil-2017*/}
860860
October 7 in Sao Paulo, Brazil
861861

862-
[Website](http://reactconfbr.com.br) - [Twitter](https://twitter.com/reactconfbr) - [Facebook](https://www.facebook.com/reactconf/)
862+
[Website](https://reactconfbr.com.br) - [Twitter](https://twitter.com/reactconfbr) - [Facebook](https://www.facebook.com/reactconf/)
863863

864864
### ReactJS Day 2017 {/*reactjs-day-2017*/}
865865
October 6 in Verona, Italy
866866

867-
[Website](http://2017.reactjsday.it) - [Twitter](https://twitter.com/reactjsday) - [Videos](https://www.youtube.com/watch?v=bUqqJPIgjNU&list=PLWK9j6ps_unl293VhhN4RYMCISxye3xH9)
867+
[Website](https://2017.reactjsday.it) - [Twitter](https://twitter.com/reactjsday) - [Videos](https://www.youtube.com/watch?v=bUqqJPIgjNU&list=PLWK9j6ps_unl293VhhN4RYMCISxye3xH9)
868868

869869
### React Alicante 2017 {/*react-alicante-2017*/}
870870
September 28-30 in Alicante, Spain
871871

872-
[Website](http://reactalicante.es) - [Twitter](https://twitter.com/ReactAlicante) - [Videos](https://www.youtube.com/watch?v=UMZvRCWo6Dw&list=PLd7nkr8mN0sWvBH_s0foCE6eZTX8BmLUM)
872+
[Website](https://reactalicante.es) - [Twitter](https://twitter.com/ReactAlicante) - [Videos](https://www.youtube.com/watch?v=UMZvRCWo6Dw&list=PLd7nkr8mN0sWvBH_s0foCE6eZTX8BmLUM)
873873

874874
### React Boston 2017 {/*react-boston-2017*/}
875875
September 23-24 in Boston, Massachusetts USA
876876

877-
[Website](http://www.reactboston.com/) - [Twitter](https://twitter.com/ReactBoston) - [Videos](https://www.youtube.com/watch?v=2iPE5l3cl_s&list=PL-fCkV3wv4ub8zJMIhmrrLcQqSR5XPlIT)
877+
[Website](https://www.reactboston.com/) - [Twitter](https://twitter.com/ReactBoston) - [Videos](https://www.youtube.com/watch?v=2iPE5l3cl_s&list=PL-fCkV3wv4ub8zJMIhmrrLcQqSR5XPlIT)
878878

879879
### ReactFoo 2017 {/*reactfoo-2017*/}
880880
September 14 in Bangalore, India
@@ -884,17 +884,17 @@ September 14 in Bangalore, India
884884
### ReactNext 2017 {/*reactnext-2017*/}
885885
September 8-10 in Tel Aviv, Israel
886886

887-
[Website](http://react-next.com/) - [Twitter](https://twitter.com/ReactNext) - [Videos (Hall A)](https://www.youtube.com/watch?v=eKXQw5kR86c&list=PLMYVq3z1QxSqq6D7jxVdqttOX7H_Brq8Z), [Videos (Hall B)](https://www.youtube.com/watch?v=1InokWxYGnE&list=PLMYVq3z1QxSqCZmaqgTXLsrcJ8mZmBF7T)
887+
[Website](https://react-next.com/) - [Twitter](https://twitter.com/ReactNext) - [Videos (Hall A)](https://www.youtube.com/watch?v=eKXQw5kR86c&list=PLMYVq3z1QxSqq6D7jxVdqttOX7H_Brq8Z), [Videos (Hall B)](https://www.youtube.com/watch?v=1InokWxYGnE&list=PLMYVq3z1QxSqCZmaqgTXLsrcJ8mZmBF7T)
888888

889889
### React Native EU 2017 {/*react-native-eu-2017*/}
890890
September 6-7 in Wroclaw, Poland
891891

892-
[Website](http://react-native.eu/) - [Videos](https://www.youtube.com/watch?v=453oKJAqfy0&list=PLzUKC1ci01h_hkn7_KoFA-Au0DXLAQZR7)
892+
[Website](https://react-native.eu/) - [Videos](https://www.youtube.com/watch?v=453oKJAqfy0&list=PLzUKC1ci01h_hkn7_KoFA-Au0DXLAQZR7)
893893

894894
### React Rally 2017 {/*react-rally-2017*/}
895895
August 24-25 in Salt Lake City, Utah USA
896896

897-
[Website](http://www.reactrally.com) - [Twitter](https://twitter.com/reactrally) - [Videos](https://www.youtube.com/watch?v=f4KnHNCZcH4&list=PLUD4kD-wL_zZUhvAIHJjueJDPr6qHvkni)
897+
[Website](https://www.reactrally.com) - [Twitter](https://twitter.com/reactrally) - [Videos](https://www.youtube.com/watch?v=f4KnHNCZcH4&list=PLUD4kD-wL_zZUhvAIHJjueJDPr6qHvkni)
898898

899899
### Chain React 2017 {/*chain-react-2017*/}
900900
July 10-11 in Portland, Oregon USA
@@ -912,19 +912,19 @@ April 21st in Amsterdam, The Netherlands
912912
[Website](https://reactsummit.com) - [Twitter](https://twitter.com/reactsummit) - [Videos](https://youtube.com/c/ReactConferences)
913913

914914
### React London 2017 {/*react-london-2017*/}
915-
March 28th at the [QEII Centre, London](http://qeiicentre.london/)
915+
March 28th at the [QEII Centre, London](https://qeiicentre.london/)
916916

917-
[Website](http://react.london/) - [Videos](https://www.youtube.com/watch?v=2j9rSur_mnk&list=PLW6ORi0XZU0CFjdoYeC0f5QReBG-NeNKJ)
917+
[Website](https://react.london/) - [Videos](https://www.youtube.com/watch?v=2j9rSur_mnk&list=PLW6ORi0XZU0CFjdoYeC0f5QReBG-NeNKJ)
918918

919919
### React Conf 2017 {/*react-conf-2017*/}
920920
March 13-14 in Santa Clara, CA
921921

922-
[Website](http://conf.reactjs.org/) - [Videos](https://www.youtube.com/watch?v=7HSd1sk07uU&list=PLb0IAmt7-GS3fZ46IGFirdqKTIxlws7e0)
922+
[Website](https://conf.reactjs.org/) - [Videos](https://www.youtube.com/watch?v=7HSd1sk07uU&list=PLb0IAmt7-GS3fZ46IGFirdqKTIxlws7e0)
923923

924924
### Agent Conference 2017 {/*agent-conference-2017*/}
925925
January 20-21 in Dornbirn, Austria
926926

927-
[Website](http://agent.sh/)
927+
[Website](https://agent.sh/)
928928

929929
### React Remote Conf 2016 {/*react-remote-conf-2016*/}
930930
October 26-28 online
@@ -939,17 +939,17 @@ October 26-28 in Bratislava, Slovakia
939939
### ReactNL 2016 {/*reactnl-2016*/}
940940
October 13 in Amsterdam, The Netherlands
941941

942-
[Website](http://reactnl.org/) - [Schedule](http://reactnl.org/#program)
942+
[Website](https://reactnl.org/) - [Schedule](https://reactnl.org/#program)
943943

944944
### ReactNext 2016 {/*reactnext-2016*/}
945945
September 15 in Tel Aviv, Israel
946946

947-
[Website](http://react-next.com/) - [Schedule](http://react-next.com/#schedule) - [Videos](https://www.youtube.com/channel/UC3BT8hh3yTTYxbLQy_wbk2w)
947+
[Website](https://react-next.com/) - [Schedule](https://react-next.com/#schedule) - [Videos](https://www.youtube.com/channel/UC3BT8hh3yTTYxbLQy_wbk2w)
948948

949949
### ReactRally 2016 {/*reactrally-2016*/}
950950
August 25-26 in Salt Lake City, UT
951951

952-
[Website](http://www.reactrally.com/) - [Schedule](http://www.reactrally.com/#/schedule) - [Videos](https://www.youtube.com/playlist?list=PLUD4kD-wL_zYSfU3tIYsb4WqfFQzO_EjQ)
952+
[Website](https://www.reactrally.com/) - [Schedule](https://www.reactrally.com/#/schedule) - [Videos](https://www.youtube.com/playlist?list=PLUD4kD-wL_zYSfU3tIYsb4WqfFQzO_EjQ)
953953

954954
### ReactEurope 2016 {/*reacteurope-2016*/}
955955
June 2 & 3 in Paris, France
@@ -964,7 +964,7 @@ April 16 in Amsterdam, The Netherlands
964964
### React.js Conf 2016 {/*reactjs-conf-2016*/}
965965
February 22 & 23 in San Francisco, CA
966966

967-
[Website](http://conf2016.reactjs.org/) - [Schedule](http://conf2016.reactjs.org/schedule.html) - [Videos](https://www.youtube.com/playlist?list=PLb0IAmt7-GS0M8Q95RIc2lOM6nc77q1IY)
967+
[Website](https://conf2016.reactjs.org/) - [Schedule](https://conf2016.reactjs.org/schedule.html) - [Videos](https://www.youtube.com/playlist?list=PLb0IAmt7-GS0M8Q95RIc2lOM6nc77q1IY)
968968

969969
### Reactive 2015 {/*reactive-2015*/}
970970
November 2-4 in Bratislava, Slovakia
@@ -979,4 +979,4 @@ July 2 & 3 in Paris, France
979979
### React.js Conf 2015 {/*reactjs-conf-2015*/}
980980
January 28 & 29 in Facebook HQ, CA
981981

982-
[Website](http://conf2015.reactjs.org/) - [Schedule](http://conf2015.reactjs.org/schedule.html) - [Videos](https://www.youtube.com/playlist?list=PLb0IAmt7-GS1cbw4qonlQztYV1TAW0sCr)
982+
[Website](https://conf2015.reactjs.org/) - [Schedule](https://conf2015.reactjs.org/schedule.html) - [Videos](https://www.youtube.com/playlist?list=PLb0IAmt7-GS1cbw4qonlQztYV1TAW0sCr)

src/content/learn/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export default App = AppTSX;
286286

287287
This technique works when you have a default value which makes sense - but there are occasionally cases when you do not, and in those cases `null` can feel reasonable as a default value. However, to allow the type-system to understand your code, you need to explicitly set `ContextShape | null` on the `createContext`.
288288

289-
This causes the issue that you need to eliminate the `| null` in the type for context consumers. Our recommendation is to have the Hook do a runtime check for it's existence and throw an error when not present:
289+
This causes the issue that you need to eliminate the `| null` in the type for context consumers. Our recommendation is to have the Hook do a runtime check for its existence and throw an error when not present:
290290

291291
```js {5, 16-20}
292292
import { createContext, useContext, useState, useMemo } from 'react';

src/content/reference/react/StrictMode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Components breaking this rule behave unpredictably and cause bugs. To help you f
138138

139139
- Your component function body (only top-level logic, so this doesn't include code inside event handlers)
140140
- Functions that you pass to [`useState`](/reference/react/useState), [`set` functions](/reference/react/useState#setstate), [`useMemo`](/reference/react/useMemo), or [`useReducer`](/reference/react/useReducer)
141-
- Some class component methods like [`constructor`](/reference/react/Component#constructor), [`render`](/reference/react/Component#render), [`shouldComponentUpdate`](/reference/react/Component#shouldcomponentupdate) ([see the whole list](https://reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects))
141+
- Some class component methods like [`constructor`](/reference/react/Component#constructor), [`render`](/reference/react/Component#render), [`shouldComponentUpdate`](/reference/react/Component#shouldcomponentupdate) ([see the whole list](https://legacy.reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects))
142142

143143
If a function is pure, running it twice does not change its behavior because a pure function produces the same result every time. However, if a function is impure (for example, it mutates the data it receives), running it twice tends to be noticeable (that's what makes it impure!) This helps you spot and fix the bug early.
144144

0 commit comments

Comments
 (0)