Skip to content

Sync with reactjs.org @ 5e9d673c #485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 158 commits into from
Mar 31, 2022
Merged

Sync with reactjs.org @ 5e9d673c #485

merged 158 commits into from
Mar 31, 2022

Conversation

react-translations-bot
Copy link
Collaborator

@react-translations-bot react-translations-bot commented Mar 28, 2022

This PR was automatically generated.

Merge changes from reactjs.org at 5e9d673

The following files have conflicts and may need new translations:

Please fix the conflicts by pushing new commits to this pull request, either by editing the files directly on GitHub or by checking out this branch.

DO NOT SQUASH MERGE THIS PULL REQUEST!

Doing so will "erase" the commits from main and cause them to show up as conflicts the next time we merge.

sbaljeet13 and others added 30 commits January 6, 2022 23:55
* Add Link to React Conf 2021 Playlist

* Remove `allow` attribute from the `<iframe>`

Remove `allow` attribute from the `<iframe>` for React Conf 2021 YouTube playlist.
* FIXED: broken 'translated' link

removed broken weblink which leads to 404 page

* FIXED: broken 'translation' link
* Added hook to validate if headings are present or not

* Remove un wanted default param

* Add validate Ids to ci check too

* Revamp heading id generation and validation workflow

* Update validateHeadingIDs.js
* Update react-router examples to use v6 version

The exemple used to demonstrate Code-Splitting using react-router-dom is outdated. My suggestion is to use the new way of calling routes that was introduced in React Router v6

* remove index prop
…f _redirects (#4136)

* Changed the version generation script to update vercel.json instead of _redirects

* Fix prettier failures

* Expected to return a value at the end of async function 'writeRedirectsFile'

* Add same script for beta as well

* Fixes review comments

* Fixes formatting in old site
…is an "operator" so it can make developers confused (#4209)
* updates readme

* removed hosting provider name
* adding google analytics metrics to beta

* adding google analytics metrics to beta
* upgrade sandpack dependencies

* update csb button

* remove unnecessary ref

* add react dev tools

* remove duplicated/unnecessary element

* fix: codemirror gutter

* fix codemirror gutter

* make devtools optional

* bump sandpack version

* fix: add website theme to the react devtools

* fix: react devtools ui tweaks

* devtools: custom theme

* refactor: reset sandbox

* fix sandpack

* fix: devtools style

* fix: tweaks on mobile version

* fix: soft refresh when module is loaded

* bump sandpack version

* update color

* remove demo

* remove inspect button

* bring back key logic

* refactor: icon align

* update sandpack

* logic to keep the content synced
Signed-off-by: Aniruddha Shriwant <[email protected]>
* add click to copy to TerminalBlock

* rebase + changes

* fix 'Not all code paths return a value.'

* fix svg jsx

* fix lint errors
* fix: challenges navigation

* fix: challenges navigation alternate solution

* fix: challenges navigation assert non null on find

* refactor: unnecessary default value
* [Beta] Rewrite Quick Start

* Tweaks
* Commit lint staging

* Add mdx parser for prettier

* fix css

* Fixed lint staged for md

* Fixed markdowns

* Revert prettifying markdown since build fails

* Removed css command and included with tsx

* replace with older readme and contibuting
gaearon and others added 14 commits March 16, 2022 01:40
Updated the name and the date of our event
* [Beta] createContext API

* Add to index

* Add a link
Add info about React Native EU to upcoming conferences. Organised by Callstack.
* Add diagrams for Preserving and Resetting State

* Dark mode

* Add alt text and fix file names

* Feedback updates
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
A slight inconsistency in the formatting used throughout for `{` `}`.
@github-actions
Copy link

Size Changes

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 95.2 KB (🟡 +3.87 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Pages Added

The following pages were added to the bundle from the code in this PR:

Page Size (compressed) First Load
/apis 54.96 KB 150.15 KB
/apis/createcontext 56.71 KB 151.91 KB
/apis/reactdom 54.88 KB 150.07 KB
/apis/render 56.94 KB 152.13 KB
/apis/usecontext 62.67 KB 157.87 KB
/apis/usereducer 62.3 KB 157.5 KB
/apis/useref 60.02 KB 155.21 KB
/apis/usestate 65.93 KB 161.12 KB

One Hundred Eighty-one Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 55.07 KB (🟢 -148.77 KB) 150.26 KB
/404 54.18 KB (🟢 -148.76 KB) 149.38 KB
/blog 41.29 KB (🟡 +3.92 KB) 136.48 KB
/blog/2013/06/02/jsfiddle-integration 65.46 KB (🟢 -148.5 KB) 160.65 KB
/blog/2013/06/05/why-react 67.18 KB (🟢 -148.5 KB) 162.38 KB
/blog/2013/06/12/community-roundup 66.89 KB (🟢 -148.5 KB) 162.08 KB
/blog/2013/06/19/community-roundup-2 67.56 KB (🟢 -148.5 KB) 162.75 KB
/blog/2013/06/21/react-v0-3-3 65.61 KB (🟢 -148.5 KB) 160.8 KB
/blog/2013/06/27/community-roundup-3 67.92 KB (🟢 -148.5 KB) 163.12 KB
/blog/2013/07/02/react-v0-4-autobind-by-default 66.22 KB (🟢 -148.5 KB) 161.42 KB
/blog/2013/07/03/community-roundup-4 67.29 KB (🟢 -148.5 KB) 162.49 KB
/blog/2013/07/11/react-v0-4-prop-validation-and-default-values 66.1 KB (🟢 -148.5 KB) 161.29 KB
/blog/2013/07/17/react-v0-4-0 66.81 KB (🟢 -148.5 KB) 162 KB
/blog/2013/07/23/community-roundup-5 67.69 KB (🟢 -148.5 KB) 162.88 KB
/blog/2013/07/26/react-v0-4-1 65.57 KB (🟢 -148.5 KB) 160.77 KB
/blog/2013/07/30/use-react-and-jsx-in-ruby-on-rails 66.17 KB (🟢 -148.5 KB) 161.37 KB
/blog/2013/08/05/community-roundup-6 66.98 KB (🟢 -148.5 KB) 162.17 KB
/blog/2013/08/19/use-react-and-jsx-in-python-applications 66.18 KB (🟢 -148.5 KB) 161.38 KB
/blog/2013/08/26/community-roundup-7 67.15 KB (🟢 -148.5 KB) 162.35 KB
/blog/2013/09/24/community-roundup-8 68.58 KB (🟢 -148.5 KB) 163.78 KB
/blog/2013/10/03/community-roundup-9 67.52 KB (🟢 -148.5 KB) 162.71 KB
/blog/2013/10/16/react-v0.5.0 67.2 KB (🟢 -148.5 KB) 162.39 KB
/blog/2013/10/29/react-v0-5-1 65.56 KB (🟢 -148.5 KB) 160.75 KB
/blog/2013/11/06/community-roundup-10 69.18 KB (🟢 -148.5 KB) 164.37 KB
/blog/2013/11/18/community-roundup-11 68.26 KB (🟢 -148.5 KB) 163.45 KB
/blog/2013/12/18/react-v0.5.2-v0.4.2 66.03 KB (🟢 -148.5 KB) 161.23 KB
/blog/2013/12/19/react-v0.8.0 66.45 KB (🟢 -148.5 KB) 161.65 KB
/blog/2013/12/23/community-roundup-12 67.91 KB (🟢 -148.5 KB) 163.11 KB
/blog/2013/12/30/community-roundup-13 67.69 KB (🟢 -148.5 KB) 162.89 KB
/blog/2014/01/02/react-chrome-developer-tools 65.95 KB (🟢 -148.5 KB) 161.14 KB
/blog/2014/01/06/community-roundup-14 67.29 KB (🟢 -148.5 KB) 162.48 KB
/blog/2014/02/05/community-roundup-15 68.5 KB (🟢 -148.5 KB) 163.7 KB
/blog/2014/02/15/community-roundup-16 68.22 KB (🟢 -148.5 KB) 163.41 KB
/blog/2014/02/16/react-v0.9-rc1 68.62 KB (🟢 -148.5 KB) 163.82 KB
/blog/2014/02/20/react-v0.9 69.07 KB (🟢 -148.5 KB) 164.26 KB
/blog/2014/02/24/community-roundup-17 67.93 KB (🟢 -148.5 KB) 163.13 KB
/blog/2014/03/14/community-roundup-18 68.9 KB (🟢 -148.5 KB) 164.09 KB
/blog/2014/03/19/react-v0.10-rc1 67.2 KB (🟢 -148.5 KB) 162.4 KB
/blog/2014/03/21/react-v0.10 67.23 KB (🟢 -148.5 KB) 162.42 KB
/blog/2014/03/28/the-road-to-1.0 67.34 KB (🟢 -148.5 KB) 162.53 KB
/blog/2014/04/04/reactnet 65.98 KB (🟢 -148.5 KB) 161.18 KB
/blog/2014/05/06/flux 66.11 KB (🟢 -148.5 KB) 161.3 KB
/blog/2014/05/29/one-year-of-open-source-react 66.33 KB (🟢 -148.5 KB) 161.53 KB
/blog/2014/06/27/community-roundup-19 67.87 KB (🟢 -148.5 KB) 163.07 KB
/blog/2014/07/13/react-v0.11-rc1 68.26 KB (🟢 -148.5 KB) 163.45 KB
/blog/2014/07/17/react-v0.11 69.52 KB (🟢 -148.5 KB) 164.71 KB
/blog/2014/07/25/react-v0.11.1 66.47 KB (🟢 -148.5 KB) 161.66 KB
/blog/2014/07/28/community-roundup-20 68.02 KB (🟢 -148.5 KB) 163.22 KB
/blog/2014/07/30/flux-actions-and-the-dispatcher 67.65 KB (🟢 -148.5 KB) 162.85 KB
/blog/2014/08/03/community-roundup-21 67.69 KB (🟢 -148.5 KB) 162.88 KB
/blog/2014/09/03/introducing-the-jsx-specification 65.69 KB (🟢 -148.5 KB) 160.89 KB
/blog/2014/09/12/community-round-up-22 68.17 KB (🟢 -148.5 KB) 163.36 KB
/blog/2014/09/16/react-v0.11.2 66.46 KB (🟢 -148.5 KB) 161.66 KB
/blog/2014/09/24/testing-flux-applications 69.64 KB (🟢 -148.5 KB) 164.84 KB
/blog/2014/10/14/introducing-react-elements 68.6 KB (🟢 -148.5 KB) 163.79 KB
/blog/2014/10/16/react-v0.12-rc1 68.56 KB (🟢 -148.5 KB) 163.76 KB
/blog/2014/10/17/community-roundup-23 69.14 KB (🟢 -148.5 KB) 164.33 KB
/blog/2014/10/27/react-js-conf 65.74 KB (🟢 -148.5 KB) 160.93 KB
/blog/2014/10/28/react-v0.12 68.5 KB (🟢 -148.5 KB) 163.7 KB
/blog/2014/11/24/react-js-conf-updates 66.12 KB (🟢 -148.5 KB) 161.32 KB
/blog/2014/11/25/community-roundup-24 69.36 KB (🟢 -148.5 KB) 164.56 KB
/blog/2014/12/18/react-v0.12.2 66.15 KB (🟢 -148.5 KB) 161.35 KB
/blog/2014/12/19/react-js-conf-diversity-scholarship 66.55 KB (🟢 -148.5 KB) 161.74 KB
/blog/2015/01/27/react-v0.13.0-beta-1 67.51 KB (🟢 -148.5 KB) 162.71 KB
/blog/2015/02/18/react-conf-roundup-2015 69.5 KB (🟢 -148.5 KB) 164.69 KB
/blog/2015/02/20/introducing-relay-and-graphql 68.65 KB (🟢 -148.5 KB) 163.85 KB
/blog/2015/02/24/react-v0.13-rc1 67.55 KB (🟢 -148.5 KB) 162.75 KB
/blog/2015/02/24/streamlining-react-elements 70.1 KB (🟢 -148.5 KB) 165.3 KB
/blog/2015/03/03/react-v0.13-rc2 66.89 KB (🟢 -148.5 KB) 162.08 KB
/blog/2015/03/04/community-roundup-25 67.85 KB (🟢 -148.5 KB) 163.04 KB
/blog/2015/03/10/react-v0.13 68.17 KB (🟢 -148.5 KB) 163.36 KB
/blog/2015/03/16/react-v0.13.1 65.99 KB (🟢 -148.5 KB) 161.18 KB
/blog/2015/03/19/building-the-facebook-news-feed-with-relay 68.74 KB (🟢 -148.5 KB) 163.94 KB
/blog/2015/03/26/introducing-react-native 65.88 KB (🟢 -148.5 KB) 161.08 KB
/blog/2015/03/30/community-roundup-26 67.81 KB (🟢 -148.5 KB) 163.01 KB
/blog/2015/04/17/react-native-v0.4 66.73 KB (🟢 -148.5 KB) 161.92 KB
/blog/2015/04/18/react-v0.13.2 66.06 KB (🟢 -148.5 KB) 161.26 KB
/blog/2015/05/01/graphql-introduction 70.55 KB (🟢 -148.5 KB) 165.75 KB
/blog/2015/05/08/react-v0.13.3 65.95 KB (🟢 -148.5 KB) 161.15 KB
/blog/2015/05/22/react-native-release-process 66.1 KB (🟢 -148.5 KB) 161.3 KB
/blog/2015/06/12/deprecating-jstransform-and-react-tools 66.56 KB (🟢 -148.5 KB) 161.75 KB
/blog/2015/07/03/react-v0.14-beta-1 68.07 KB (🟢 -148.5 KB) 163.26 KB
/blog/2015/08/03/new-react-devtools-beta 66.67 KB (🟢 -148.5 KB) 161.86 KB
/blog/2015/08/11/relay-technical-preview 66.73 KB (🟢 -148.5 KB) 161.93 KB
/blog/2015/08/13/reacteurope-roundup 68.32 KB (🟢 -148.5 KB) 163.52 KB
/blog/2015/09/02/new-react-developer-tools 66.09 KB (🟢 -148.5 KB) 161.28 KB
/blog/2015/09/10/react-v0.14-rc1 71.77 KB (🟢 -148.45 KB) 166.97 KB
/blog/2015/09/14/community-roundup-27 68.25 KB (🟢 -148.5 KB) 163.44 KB
/blog/2015/10/01/react-render-and-top-level-api 67.22 KB (🟢 -148.5 KB) 162.41 KB
/blog/2015/10/07/react-v0.14 72.26 KB (🟢 -148.44 KB) 167.45 KB
/blog/2015/10/19/reactiflux-is-moving-to-discord 67.97 KB (🟢 -148.5 KB) 163.16 KB
/blog/2015/10/28/react-v0.14.1 65.98 KB (🟢 -148.5 KB) 161.17 KB
/blog/2015/11/02/react-v0.14.2 66.01 KB (🟢 -148.5 KB) 161.2 KB
/blog/2015/11/18/react-v0.14.3 66.13 KB (🟢 -148.5 KB) 161.33 KB
/blog/2015/12/04/react-js-conf-2016-diversity-scholarship 67 KB (🟢 -148.5 KB) 162.2 KB
/blog/2015/12/16/ismounted-antipattern 66.6 KB (🟢 -148.5 KB) 161.8 KB
/blog/2015/12/18/react-components-elements-and-instances 70.53 KB (🟢 -148.5 KB) 165.72 KB
/blog/2015/12/29/react-v0.14.4 65.8 KB (🟢 -148.5 KB) 161 KB
/blog/2016/01/08/A-implies-B-does-not-imply-B-implies-A 66.82 KB (🟢 -148.5 KB) 162.01 KB
/blog/2016/01/12/discontinuing-ie8-support 65.62 KB (🟢 -148.5 KB) 160.82 KB
/blog/2016/02/19/new-versioning-scheme 67.01 KB (🟢 -148.5 KB) 162.2 KB
/blog/2016/03/07/react-v15-rc1 69.76 KB (🟢 -148.44 KB) 164.95 KB
/blog/2016/03/16/react-v15-rc2 66.62 KB (🟢 -148.5 KB) 161.81 KB
/blog/2016/03/29/react-v0.14.8 65.75 KB (🟢 -148.5 KB) 160.95 KB
/blog/2016/04/07/react-v15 73.94 KB (🟢 -148.37 KB) 169.14 KB
/blog/2016/04/08/react-v15.0.1 66.51 KB (🟢 -148.5 KB) 161.71 KB
/blog/2016/07/11/introducing-reacts-error-code-system 66.22 KB (🟢 -148.5 KB) 161.42 KB
/blog/2016/07/13/mixins-considered-harmful 74.37 KB (🟢 -148.5 KB) 169.57 KB
/blog/2016/07/22/create-apps-with-no-configuration 69.7 KB (🟢 -148.5 KB) 164.9 KB
/blog/2016/08/05/relay-state-of-the-state 69.74 KB (🟢 -148.5 KB) 164.94 KB
/blog/2016/09/28/our-first-50000-stars 71.19 KB (🟢 -148.5 KB) 166.39 KB
/blog/2016/11/16/react-v15.4.0 69.14 KB (🟢 -148.5 KB) 164.34 KB
/blog/2017/04/07/react-v15.5.0 69.71 KB (🟢 -148.5 KB) 164.9 KB
/blog/2017/05/18/whats-new-in-create-react-app 69.1 KB (🟢 -148.5 KB) 164.3 KB
/blog/2017/06/13/react-v15.6.0 67.73 KB (🟢 -148.5 KB) 162.92 KB
/blog/2017/07/26/error-handling-in-react-16 68.08 KB (🟢 -148.5 KB) 163.27 KB
/blog/2017/09/08/dom-attributes-in-react-16 68.51 KB (🟢 -148.5 KB) 163.7 KB
/blog/2017/09/25/react-v15.6.2 66.84 KB (🟢 -148.5 KB) 162.04 KB
/blog/2017/09/26/react-v16.0 71.97 KB (🟢 -148.5 KB) 167.17 KB
/blog/2017/11/28/react-v16.2.0-fragment-support 69.9 KB (🟢 -148.47 KB) 165.1 KB
/blog/2017/12/07/introducing-the-react-rfc-process 66.42 KB (🟢 -148.5 KB) 161.62 KB
/blog/2017/12/15/improving-the-repository-infrastructure 82.21 KB (🟢 -148.5 KB) 177.41 KB
/blog/2018/03/01/sneak-peek-beyond-react-16 66.38 KB (🟢 -148.5 KB) 161.57 KB
/blog/2018/03/27/update-on-async-rendering 71.62 KB (🟢 -148.5 KB) 166.82 KB
/blog/2018/03/29/react-v-16-3 68.44 KB (🟢 -148.5 KB) 163.64 KB
/blog/2018/05/23/react-v-16-4 68.58 KB (🟢 -148.5 KB) 163.78 KB
/blog/2018/06/07/you-probably-dont-need-derived-state 72.24 KB (🟢 -148.5 KB) 167.43 KB
/blog/2018/08/01/react-v-16-4-2 67.23 KB (🟢 -148.5 KB) 162.43 KB
/blog/2018/09/10/introducing-the-react-profiler 68.84 KB (🟢 -148.5 KB) 164.04 KB
/blog/2018/10/01/create-react-app-v2 69.32 KB (🟢 -148.5 KB) 164.51 KB
/blog/2018/10/23/react-v-16-6 68.52 KB (🟢 -148.5 KB) 163.71 KB
/blog/2018/11/13/react-conf-recap 66.23 KB (🟢 -148.5 KB) 161.43 KB
/blog/2018/11/27/react-16-roadmap 72.42 KB (🟢 -148.5 KB) 167.62 KB
/blog/2018/12/19/react-v-16-7 67.35 KB (🟢 -148.5 KB) 162.55 KB
/blog/2019/02/06/react-v16.8.0 69.62 KB (🟢 -148.5 KB) 164.82 KB
/blog/2019/02/23/is-react-translated-yet 69.18 KB (🟢 -148.5 KB) 164.38 KB
/blog/2019/08/08/react-v16.9.0 72.12 KB (🟢 -148.5 KB) 167.31 KB
/blog/2019/08/15/new-react-devtools 66.72 KB (🟢 -148.5 KB) 161.92 KB
/blog/2019/10/22/react-release-channels 68.53 KB (🟢 -148.5 KB) 163.73 KB
/blog/2019/11/06/building-great-user-experiences-with-concurrent-mode-and-suspense 73.24 KB (🟢 -148.5 KB) 168.43 KB
/blog/2020/02/26/react-v16.13.0 69.46 KB (🟢 -148.5 KB) 164.65 KB
/blog/2020/08/10/react-v17-rc 75.74 KB (🟢 -148.5 KB) 170.94 KB
/blog/all 57.29 KB (🟡 +3.8 KB) 152.48 KB
/community 54.76 KB (🟢 -148.77 KB) 149.96 KB
/community/acknowledgements 55.95 KB (🟢 -148.77 KB) 151.15 KB
/community/meet-the-team 56.64 KB (🟢 -148.6 KB) 151.84 KB
/learn 59.69 KB (🟢 -152.55 KB) 154.89 KB
/learn/add-react-to-a-website 59.59 KB (🟢 -148.77 KB) 154.78 KB
/learn/adding-interactivity 61.4 KB (🟢 -148.76 KB) 156.59 KB
/learn/choosing-the-state-structure 67.13 KB (🟢 -148.77 KB) 162.33 KB
/learn/conditional-rendering 59.36 KB (🟢 -148.77 KB) 154.56 KB
/learn/describing-the-ui 58.58 KB (🟢 -148.76 KB) 153.78 KB
/learn/editor-setup 55.89 KB (🟢 -148.73 KB) 151.08 KB
/learn/escape-hatches 54.1 KB (🟢 -148.76 KB) 149.29 KB
/learn/extracting-state-logic-into-a-reducer 64.76 KB (🟢 -148.74 KB) 159.96 KB
/learn/importing-and-exporting-components 58.7 KB (🟢 -148.77 KB) 153.9 KB
/learn/installation 55.42 KB (🟢 -148.76 KB) 150.62 KB
/learn/javascript-in-jsx-with-curly-braces 58.69 KB (🟢 -148.77 KB) 153.89 KB
/learn/keeping-components-pure 61.97 KB (🟢 -148.77 KB) 157.16 KB
/learn/managing-state 60.69 KB (🟢 -148.76 KB) 155.89 KB
/learn/manipulating-the-dom-with-refs 62.95 KB (🟢 -148.42 KB) 158.15 KB
/learn/passing-data-deeply-with-context 62.49 KB (🟢 -148.39 KB) 157.69 KB
/learn/passing-props-to-a-component 63.16 KB (🟢 -148.77 KB) 158.35 KB
/learn/preserving-and-resetting-state 65.51 KB (🟢 -147.62 KB) 160.7 KB
/learn/queueing-a-series-of-state-updates 59.33 KB (🟢 -148.77 KB) 154.53 KB
/learn/react-developer-tools 55.29 KB (🟢 -148.77 KB) 150.48 KB
/learn/reacting-to-input-with-state 63.95 KB (🟢 -148.63 KB) 159.14 KB
/learn/referencing-values-with-refs 60.85 KB (🟢 -148.76 KB) 156.05 KB
/learn/render-and-commit 57.83 KB (🟢 -148.76 KB) 153.02 KB
/learn/rendering-lists 61.89 KB (🟢 -148.77 KB) 157.08 KB
/learn/responding-to-events 60.88 KB (🟢 -148.77 KB) 156.08 KB
/learn/scaling-up-with-reducer-and-context 58.91 KB (🟢 -148.77 KB) 154.1 KB
/learn/sharing-state-between-components 59.61 KB (🟢 -148.77 KB) 154.81 KB
/learn/start-a-new-react-project 56.26 KB (🟢 -148.77 KB) 151.45 KB
/learn/state-a-components-memory 65.06 KB (🟢 -148.77 KB) 160.25 KB
/learn/state-as-a-snapshot 58.88 KB (🟢 -148.77 KB) 154.07 KB
/learn/thinking-in-react 60.7 KB (🟢 -148.84 KB) 155.89 KB
/learn/updating-arrays-in-state 62.94 KB (🟢 -148.78 KB) 158.13 KB
/learn/updating-objects-in-state 62.66 KB (🟢 -148.77 KB) 157.86 KB
/learn/writing-markup-with-jsx 59.12 KB (🟢 -148.4 KB) 154.31 KB
/learn/your-first-component 60.08 KB (🟢 -148.76 KB) 155.28 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

@smikitky
Copy link
Member

@koba04 @potato4d

React 18 リリーる絡みの作業の前に負債解消しておきたいのでよろしくお願いします

@smikitky
Copy link
Member

  • ブログ記事は少し古くなってもいますので次回にまとめて翻訳します
  • 上であまり見覚えのない circle CI のエラーが出ていますが…まあ気にしないでマージしてもいいですよね…

Copy link
Member

@koba04 koba04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM!! 👍

@koba04 koba04 merged commit 0df6033 into main Mar 31, 2022
@koba04 koba04 deleted the sync-5e9d673c branch March 31, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.