Skip to content

Conversation

@gaearon
Copy link
Member

@gaearon gaearon commented Sep 4, 2022

There's more indirection here than I'd like. It's making it difficult to see what's being passed to what. Since we don't actually need radically different layouts, I'm simplifying it to hardcode the structure. This will make it easier to consolidate our MDX preprocessing, later add MDX 2, and eventually move to Server Components.

This commit breaks the /blog index page. I could port it over. However, this page doesn't really make sense in the current design anyway because the titles are repeated in the sidebar. So I think for the first release we'll just make the index page redirect to the newest blog entry, just like it used to be on the old site.

@github-actions
Copy link

github-actions bot commented Sep 4, 2022

Size Changes

Details

📦 Next.js Bundle Analysis

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 127.45 KB (🔴 +42.77 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 Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load
/500 696 B 128.13 KB

Two Hundred Thirty-two Pages Changed Size

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

Page Size (compressed) First Load
/ 1.6 KB (🟢 -46.99 KB) 129.05 KB
/404 691 B (🟢 -47.02 KB) 128.13 KB
/apis/react 2.89 KB (🟢 -47 KB) 130.34 KB
/apis/react-dom 1.92 KB (🟢 -47 KB) 129.37 KB
/apis/react-dom/client/createRoot 6.31 KB (🟢 -47.02 KB) 133.76 KB
/apis/react-dom/client/hydrateRoot 4.52 KB (🟢 -47.02 KB) 131.97 KB
/apis/react-dom/createPortal 910 B (🟢 -47.01 KB) 128.34 KB
/apis/react-dom/findDOMNode 1.15 KB (🟢 -47 KB) 128.61 KB
/apis/react-dom/flushSync 913 B (🟢 -47.01 KB) 128.35 KB
/apis/react-dom/hydrate 3.77 KB (🟢 -47.01 KB) 131.23 KB
/apis/react-dom/render 3.65 KB (🟢 -47 KB) 131.1 KB
/apis/react-dom/server/renderToNodeStream 888 B (🟢 -47.01 KB) 128.32 KB
/apis/react-dom/server/renderToPipeableStream 889 B (🟢 -47.01 KB) 128.32 KB
/apis/react-dom/server/renderToReadableStream 1.01 KB (🟢 -47.01 KB) 128.46 KB
/apis/react-dom/server/renderToStaticMarkup 1.08 KB (🟢 -47.01 KB) 128.53 KB
/apis/react-dom/server/renderToStaticNodeStream 1.02 KB (🟢 -47.01 KB) 128.47 KB
/apis/react-dom/server/renderToString 1001 B (🟢 -47.01 KB) 128.43 KB
/apis/react-dom/unmountComponentAtNode 994 B (🟢 -47.01 KB) 128.42 KB
/apis/react/Children 887 B (🟢 -47.01 KB) 128.32 KB
/apis/react/Component 1013 B (🟢 -47 KB) 128.44 KB
/apis/react/Fragment 2.05 KB (🟢 -47.01 KB) 129.5 KB
/apis/react/PureComponent 1.06 KB (🟢 -47.01 KB) 128.51 KB
/apis/react/StrictMode 775 B (🟢 -47.01 KB) 128.21 KB
/apis/react/Suspense 858 B (🟢 -47.01 KB) 128.29 KB
/apis/react/cloneElement 861 B (🟢 -47 KB) 128.29 KB
/apis/react/createContext 3.22 KB (🟢 -47.01 KB) 130.68 KB
/apis/react/createElement 861 B (🟢 -47.01 KB) 128.29 KB
/apis/react/createFactory 847 B (🟢 -47.01 KB) 128.28 KB
/apis/react/createRef 843 B (🟢 -47.01 KB) 128.28 KB
/apis/react/forwardRef 988 B (🟢 -47 KB) 128.42 KB
/apis/react/isValidElement 885 B (🟢 -47.01 KB) 128.32 KB
/apis/react/lazy 983 B (🟢 -47.01 KB) 128.41 KB
/apis/react/memo 876 B (🟢 -47.01 KB) 128.31 KB
/apis/react/startTransition 850 B (🟢 -47.01 KB) 128.28 KB
/apis/react/useCallback 870 B (🟢 -47.01 KB) 128.3 KB
/apis/react/useContext 9.16 KB (🟢 -47.02 KB) 136.62 KB
/apis/react/useDebugValue 908 B (🟢 -47.01 KB) 128.34 KB
/apis/react/useDeferredValue 1009 B (🟢 -47 KB) 128.44 KB
/apis/react/useEffect 857 B (🟢 -47.01 KB) 128.29 KB
/apis/react/useId 991 B (🟢 -47.01 KB) 128.42 KB
/apis/react/useImperativeHandle 866 B (🟢 -47.01 KB) 128.3 KB
/apis/react/useInsertionEffect 1.09 KB (🟢 -47.01 KB) 128.55 KB
/apis/react/useLayoutEffect 863 B (🟢 -47.01 KB) 128.3 KB
/apis/react/useMemo 872 B (🟢 -47.01 KB) 128.31 KB
/apis/react/useReducer 8.8 KB (🟢 -47.02 KB) 136.26 KB
/apis/react/useRef 6.51 KB (🟢 -47 KB) 133.97 KB
/apis/react/useState 12.42 KB (🟢 -47.04 KB) 139.87 KB
/apis/react/useSyncExternalStore 1014 B (🟢 -47 KB) 128.44 KB
/apis/react/useTransition 865 B (🟢 -47.01 KB) 128.3 KB
/blog/2013/06/02/jsfiddle-integration 1021 B (🟢 -57.5 KB) 128.45 KB
/blog/2013/06/05/why-react 2.72 KB (🟢 -57.51 KB) 130.17 KB
/blog/2013/06/12/community-roundup 2.42 KB (🟢 -57.51 KB) 129.88 KB
/blog/2013/06/19/community-roundup-2 3.09 KB (🟢 -57.51 KB) 130.54 KB
/blog/2013/06/21/react-v0-3-3 1.14 KB (🟢 -57.5 KB) 128.6 KB
/blog/2013/06/27/community-roundup-3 3.46 KB (🟢 -57.51 KB) 130.91 KB
/blog/2013/07/02/react-v0-4-autobind-by-default 1.76 KB (🟢 -57.51 KB) 129.21 KB
/blog/2013/07/03/community-roundup-4 2.83 KB (🟢 -57.51 KB) 130.28 KB
/blog/2013/07/11/react-v0-4-prop-validation-and-default-values 1.63 KB (🟢 -57.51 KB) 129.08 KB
/blog/2013/07/17/react-v0-4-0 2.34 KB (🟢 -57.51 KB) 129.79 KB
/blog/2013/07/23/community-roundup-5 3.21 KB (🟢 -57.51 KB) 130.67 KB
/blog/2013/07/26/react-v0-4-1 1.11 KB (🟢 -57.5 KB) 128.56 KB
/blog/2013/07/30/use-react-and-jsx-in-ruby-on-rails 1.7 KB (🟢 -57.51 KB) 129.16 KB
/blog/2013/08/05/community-roundup-6 2.52 KB (🟢 -57.51 KB) 129.97 KB
/blog/2013/08/19/use-react-and-jsx-in-python-applications 1.72 KB (🟢 -57.51 KB) 129.18 KB
/blog/2013/08/26/community-roundup-7 2.68 KB (🟢 -57.51 KB) 130.13 KB
/blog/2013/09/24/community-roundup-8 4.11 KB (🟢 -57.51 KB) 131.57 KB
/blog/2013/10/03/community-roundup-9 3.05 KB (🟢 -57.51 KB) 130.5 KB
/blog/2013/10/16/react-v0.5.0 2.74 KB (🟢 -57.51 KB) 130.19 KB
/blog/2013/10/29/react-v0-5-1 1.09 KB (🟢 -57.51 KB) 128.55 KB
/blog/2013/11/06/community-roundup-10 4.71 KB (🟢 -57.51 KB) 132.16 KB
/blog/2013/11/18/community-roundup-11 3.79 KB (🟢 -57.51 KB) 131.24 KB
/blog/2013/12/18/react-v0.5.2-v0.4.2 1.57 KB (🟢 -57.5 KB) 129.03 KB
/blog/2013/12/19/react-v0.8.0 1.99 KB (🟢 -57.51 KB) 129.44 KB
/blog/2013/12/23/community-roundup-12 3.44 KB (🟢 -57.51 KB) 130.9 KB
/blog/2013/12/30/community-roundup-13 3.22 KB (🟢 -57.51 KB) 130.68 KB
/blog/2014/01/02/react-chrome-developer-tools 1.49 KB (🟢 -57.51 KB) 128.94 KB
/blog/2014/01/06/community-roundup-14 2.83 KB (🟢 -57.5 KB) 130.28 KB
/blog/2014/02/05/community-roundup-15 4.04 KB (🟢 -57.51 KB) 131.5 KB
/blog/2014/02/15/community-roundup-16 3.75 KB (🟢 -57.5 KB) 131.21 KB
/blog/2014/02/16/react-v0.9-rc1 4.15 KB (🟢 -57.51 KB) 131.61 KB
/blog/2014/02/20/react-v0.9 4.6 KB (🟢 -57.51 KB) 132.05 KB
/blog/2014/02/24/community-roundup-17 3.46 KB (🟢 -57.51 KB) 130.92 KB
/blog/2014/03/14/community-roundup-18 4.43 KB (🟢 -57.51 KB) 131.88 KB
/blog/2014/03/19/react-v0.10-rc1 2.74 KB (🟢 -57.51 KB) 130.2 KB
/blog/2014/03/21/react-v0.10 2.76 KB (🟢 -57.51 KB) 130.22 KB
/blog/2014/03/28/the-road-to-1.0 2.87 KB (🟢 -57.51 KB) 130.33 KB
/blog/2014/04/04/reactnet 1.52 KB (🟢 -57.51 KB) 128.97 KB
/blog/2014/05/06/flux 1.64 KB (🟢 -57.51 KB) 129.1 KB
/blog/2014/05/29/one-year-of-open-source-react 1.87 KB (🟢 -57.5 KB) 129.32 KB
/blog/2014/06/27/community-roundup-19 3.41 KB (🟢 -57.51 KB) 130.87 KB
/blog/2014/07/13/react-v0.11-rc1 3.79 KB (🟢 -57.51 KB) 131.24 KB
/blog/2014/07/17/react-v0.11 5.05 KB (🟢 -57.51 KB) 132.5 KB
/blog/2014/07/25/react-v0.11.1 2 KB (🟢 -57.5 KB) 129.46 KB
/blog/2014/07/28/community-roundup-20 3.55 KB (🟢 -57.51 KB) 131.01 KB
/blog/2014/07/30/flux-actions-and-the-dispatcher 3.18 KB (🟢 -57.51 KB) 130.64 KB
/blog/2014/08/03/community-roundup-21 3.22 KB (🟢 -57.51 KB) 130.68 KB
/blog/2014/09/03/introducing-the-jsx-specification 1.23 KB (🟢 -57.51 KB) 128.68 KB
/blog/2014/09/12/community-round-up-22 3.7 KB (🟢 -57.51 KB) 131.16 KB
/blog/2014/09/16/react-v0.11.2 2 KB (🟢 -57.51 KB) 129.45 KB
/blog/2014/09/24/testing-flux-applications 5.17 KB (🟢 -57.51 KB) 132.63 KB
/blog/2014/10/14/introducing-react-elements 4.13 KB (🟢 -57.51 KB) 131.58 KB
/blog/2014/10/16/react-v0.12-rc1 4.09 KB (🟢 -57.51 KB) 131.55 KB
/blog/2014/10/17/community-roundup-23 4.67 KB (🟢 -57.51 KB) 132.12 KB
/blog/2014/10/27/react-js-conf 1.27 KB (🟢 -57.51 KB) 128.73 KB
/blog/2014/10/28/react-v0.12 4.04 KB (🟢 -57.51 KB) 131.49 KB
/blog/2014/11/24/react-js-conf-updates 1.66 KB (🟢 -57.51 KB) 129.11 KB
/blog/2014/11/25/community-roundup-24 4.9 KB (🟢 -57.5 KB) 132.36 KB
/blog/2014/12/18/react-v0.12.2 1.68 KB (🟢 -57.51 KB) 129.14 KB
/blog/2014/12/19/react-js-conf-diversity-scholarship 2.08 KB (🟢 -57.51 KB) 129.54 KB
/blog/2015/01/27/react-v0.13.0-beta-1 3.05 KB (🟢 -57.51 KB) 130.5 KB
/blog/2015/02/18/react-conf-roundup-2015 5.03 KB (🟢 -57.51 KB) 132.49 KB
/blog/2015/02/20/introducing-relay-and-graphql 4.18 KB (🟢 -57.51 KB) 131.64 KB
/blog/2015/02/24/react-v0.13-rc1 3.09 KB (🟢 -57.51 KB) 130.54 KB
/blog/2015/02/24/streamlining-react-elements 5.64 KB (🟢 -57.51 KB) 133.09 KB
/blog/2015/03/03/react-v0.13-rc2 2.42 KB (🟢 -57.51 KB) 129.88 KB
/blog/2015/03/04/community-roundup-25 3.39 KB (🟢 -57.5 KB) 130.84 KB
/blog/2015/03/10/react-v0.13 3.7 KB (🟢 -57.51 KB) 131.15 KB
/blog/2015/03/16/react-v0.13.1 1.52 KB (🟢 -57.51 KB) 128.98 KB
/blog/2015/03/19/building-the-facebook-news-feed-with-relay 4.27 KB (🟢 -57.52 KB) 131.73 KB
/blog/2015/03/26/introducing-react-native 1.42 KB (🟢 -57.51 KB) 128.87 KB
/blog/2015/03/30/community-roundup-26 3.35 KB (🟢 -57.51 KB) 130.8 KB
/blog/2015/04/17/react-native-v0.4 2.26 KB (🟢 -57.51 KB) 129.72 KB
/blog/2015/04/18/react-v0.13.2 1.6 KB (🟢 -57.51 KB) 129.05 KB
/blog/2015/05/01/graphql-introduction 6.09 KB (🟢 -57.51 KB) 133.54 KB
/blog/2015/05/08/react-v0.13.3 1.49 KB (🟢 -57.51 KB) 128.94 KB
/blog/2015/05/22/react-native-release-process 1.64 KB (🟢 -57.51 KB) 129.09 KB
/blog/2015/06/12/deprecating-jstransform-and-react-tools 2.09 KB (🟢 -57.51 KB) 129.54 KB
/blog/2015/07/03/react-v0.14-beta-1 3.6 KB (🟢 -57.51 KB) 131.05 KB
/blog/2015/08/03/new-react-devtools-beta 2.21 KB (🟢 -57.5 KB) 129.66 KB
/blog/2015/08/11/relay-technical-preview 2.27 KB (🟢 -57.51 KB) 129.72 KB
/blog/2015/08/13/reacteurope-roundup 3.86 KB (🟢 -57.51 KB) 131.31 KB
/blog/2015/09/02/new-react-developer-tools 1.62 KB (🟢 -57.51 KB) 129.07 KB
/blog/2015/09/10/react-v0.14-rc1 7.3 KB (🟢 -57.51 KB) 134.76 KB
/blog/2015/09/14/community-roundup-27 3.78 KB (🟢 -57.51 KB) 131.23 KB
/blog/2015/10/01/react-render-and-top-level-api 2.75 KB (🟢 -57.51 KB) 130.2 KB
/blog/2015/10/07/react-v0.14 7.79 KB (🟢 -57.51 KB) 135.24 KB
/blog/2015/10/19/reactiflux-is-moving-to-discord 3.5 KB (🟢 -57.51 KB) 130.96 KB
/blog/2015/10/28/react-v0.14.1 1.51 KB (🟢 -57.51 KB) 128.97 KB
/blog/2015/11/02/react-v0.14.2 1.54 KB (🟢 -57.51 KB) 129 KB
/blog/2015/11/18/react-v0.14.3 1.67 KB (🟢 -57.51 KB) 129.12 KB
/blog/2015/12/04/react-js-conf-2016-diversity-scholarship 2.54 KB (🟢 -57.51 KB) 129.99 KB
/blog/2015/12/16/ismounted-antipattern 2.14 KB (🟢 -57.51 KB) 129.59 KB
/blog/2015/12/18/react-components-elements-and-instances 6.06 KB (🟢 -57.51 KB) 133.51 KB
/blog/2015/12/29/react-v0.14.4 1.33 KB (🟢 -57.51 KB) 128.79 KB
/blog/2016/01/08/A-implies-B-does-not-imply-B-implies-A 2.35 KB (🟢 -57.51 KB) 129.8 KB
/blog/2016/01/12/discontinuing-ie8-support 1.16 KB (🟢 -57.51 KB) 128.62 KB
/blog/2016/02/19/new-versioning-scheme 2.54 KB (🟢 -57.51 KB) 129.99 KB
/blog/2016/03/07/react-v15-rc1 5.29 KB (🟢 -57.51 KB) 132.74 KB
/blog/2016/03/16/react-v15-rc2 2.16 KB (🟢 -57.51 KB) 129.61 KB
/blog/2016/03/29/react-v0.14.8 1.29 KB (🟢 -57.51 KB) 128.75 KB
/blog/2016/04/07/react-v15 9.48 KB (🟢 -57.51 KB) 136.93 KB
/blog/2016/04/08/react-v15.0.1 2.05 KB (🟢 -57.51 KB) 129.5 KB
/blog/2016/07/11/introducing-reacts-error-code-system 1.76 KB (🟢 -57.51 KB) 129.21 KB
/blog/2016/07/13/mixins-considered-harmful 9.91 KB (🟢 -57.51 KB) 137.36 KB
/blog/2016/07/22/create-apps-with-no-configuration 5.24 KB (🟢 -57.51 KB) 132.69 KB
/blog/2016/08/05/relay-state-of-the-state 5.28 KB (🟢 -57.51 KB) 132.73 KB
/blog/2016/09/28/our-first-50000-stars 6.73 KB (🟢 -57.51 KB) 134.18 KB
/blog/2016/11/16/react-v15.4.0 4.68 KB (🟢 -57.51 KB) 132.13 KB
/blog/2017/04/07/react-v15.5.0 5.25 KB (🟢 -57.5 KB) 132.7 KB
/blog/2017/05/18/whats-new-in-create-react-app 4.64 KB (🟢 -57.5 KB) 132.1 KB
/blog/2017/06/13/react-v15.6.0 3.26 KB (🟢 -57.5 KB) 130.72 KB
/blog/2017/07/26/error-handling-in-react-16 3.6 KB (🟢 -57.51 KB) 131.06 KB
/blog/2017/09/08/dom-attributes-in-react-16 4.04 KB (🟢 -57.51 KB) 131.5 KB
/blog/2017/09/25/react-v15.6.2 2.38 KB (🟢 -57.51 KB) 129.83 KB
/blog/2017/09/26/react-v16.0 7.51 KB (🟢 -57.5 KB) 134.96 KB
/blog/2017/11/28/react-v16.2.0-fragment-support 5.43 KB (🟢 -57.51 KB) 132.89 KB
/blog/2017/12/07/introducing-the-react-rfc-process 1.96 KB (🟢 -57.51 KB) 129.41 KB
/blog/2017/12/15/improving-the-repository-infrastructure 17.74 KB (🟢 -57.51 KB) 145.19 KB
/blog/2018/03/01/sneak-peek-beyond-react-16 1.91 KB (🟢 -57.51 KB) 129.37 KB
/blog/2018/03/27/update-on-async-rendering 7.16 KB (🟢 -57.51 KB) 134.61 KB
/blog/2018/03/29/react-v-16-3 3.97 KB (🟢 -57.51 KB) 131.43 KB
/blog/2018/05/23/react-v-16-4 4.12 KB (🟢 -57.51 KB) 131.57 KB
/blog/2018/06/07/you-probably-dont-need-derived-state 7.77 KB (🟢 -57.51 KB) 135.23 KB
/blog/2018/08/01/react-v-16-4-2 2.77 KB (🟢 -57.51 KB) 130.22 KB
/blog/2018/09/10/introducing-the-react-profiler 4.37 KB (🟢 -57.51 KB) 131.82 KB
/blog/2018/10/01/create-react-app-v2 4.85 KB (🟢 -57.51 KB) 132.3 KB
/blog/2018/10/23/react-v-16-6 4.05 KB (🟢 -57.51 KB) 131.5 KB
/blog/2018/11/13/react-conf-recap 1.77 KB (🟢 -57.51 KB) 129.22 KB
/blog/2018/11/27/react-16-roadmap 7.96 KB (🟢 -57.51 KB) 135.41 KB
/blog/2018/12/19/react-v-16-7 2.89 KB (🟢 -57.5 KB) 130.35 KB
/blog/2019/02/06/react-v16.8.0 5.16 KB (🟢 -57.51 KB) 132.61 KB
/blog/2019/02/23/is-react-translated-yet 4.72 KB (🟢 -57.51 KB) 132.17 KB
/blog/2019/08/08/react-v16.9.0 7.65 KB (🟢 -57.51 KB) 135.1 KB
/blog/2019/08/15/new-react-devtools 2.26 KB (🟢 -57.5 KB) 129.72 KB
/blog/2019/10/22/react-release-channels 4.07 KB (🟢 -57.51 KB) 131.53 KB
/blog/2019/11/06/building-great-user-experiences-with-concurrent-mode-and-suspense 8.77 KB (🟢 -57.51 KB) 136.23 KB
/blog/2020/02/26/react-v16.13.0 4.99 KB (🟢 -57.51 KB) 132.45 KB
/blog/2020/08/10/react-v17-rc 11.28 KB (🟢 -57.51 KB) 138.73 KB
/community 1.27 KB (🟢 -47.01 KB) 128.73 KB
/community/acknowledgements 2.43 KB (🟢 -47.06 KB) 129.89 KB
/community/meet-the-team 3.14 KB (🟢 -47.03 KB) 130.6 KB
/learn 6.23 KB (🟢 -47.02 KB) 133.68 KB
/learn/add-react-to-a-website 6.36 KB (🟢 -47 KB) 133.82 KB
/learn/adding-interactivity 7.93 KB (🟢 -47 KB) 135.38 KB
/learn/choosing-the-state-structure 13.63 KB (🟢 -47.02 KB) 141.08 KB
/learn/conditional-rendering 5.87 KB (🟢 -47.01 KB) 133.33 KB
/learn/describing-the-ui 5.1 KB (🟢 -47 KB) 132.55 KB
/learn/editor-setup 2.56 KB (🟢 -47 KB) 130.01 KB
/learn/escape-hatches 7.14 KB (🟢 -47.01 KB) 134.59 KB
/learn/extracting-state-logic-into-a-reducer 11.26 KB (🟢 -47.03 KB) 138.71 KB
/learn/importing-and-exporting-components 4.27 KB (🟢 -47.01 KB) 131.73 KB
/learn/installation 1.89 KB (🟢 -47 KB) 129.34 KB
/learn/javascript-in-jsx-with-curly-braces 4.35 KB (🟢 -47.01 KB) 131.8 KB
/learn/keeping-components-pure 8.48 KB (🟢 -47 KB) 135.94 KB
/learn/lifecycle-of-reactive-effects 15.6 KB (🟢 -47.06 KB) 143.06 KB
/learn/managing-state 7.2 KB (🟢 -47.01 KB) 134.65 KB
/learn/manipulating-the-dom-with-refs 9.43 KB (🟢 -47.03 KB) 136.88 KB
/learn/passing-data-deeply-with-context 9 KB (🟢 -47 KB) 136.45 KB
/learn/passing-props-to-a-component 8.06 KB (🟢 -46.99 KB) 135.52 KB
/learn/preserving-and-resetting-state 12 KB (🟢 -47.03 KB) 139.46 KB
/learn/queueing-a-series-of-state-updates 5.84 KB (🟢 -47.01 KB) 133.29 KB
/learn/react-developer-tools 1.84 KB (🟢 -47.01 KB) 129.29 KB
/learn/reacting-to-input-with-state 10.46 KB (🟢 -47 KB) 137.92 KB
/learn/referencing-values-with-refs 7.34 KB (🟢 -47.03 KB) 134.79 KB
/learn/removing-effect-dependencies 16.75 KB (🟢 -47.04 KB) 144.2 KB
/learn/render-and-commit 4.42 KB (🟢 -47.01 KB) 131.87 KB
/learn/rendering-lists 8.43 KB (🟢 -47.02 KB) 135.88 KB
/learn/responding-to-events 7.36 KB (🟢 -47.02 KB) 134.81 KB
/learn/reusing-logic-with-custom-hooks 17.21 KB (🟢 -47.04 KB) 144.66 KB
/learn/scaling-up-with-reducer-and-context 5.39 KB (🟢 -47.03 KB) 132.85 KB
/learn/separating-events-from-effects 13.27 KB (🟢 -47.02 KB) 140.72 KB
/learn/sharing-state-between-components 6.49 KB (🟢 -47.01 KB) 133.95 KB
/learn/start-a-new-react-project 2.92 KB (🟢 -47.01 KB) 130.38 KB
/learn/state-a-components-memory 11.56 KB (🟢 -47.02 KB) 139.01 KB
/learn/state-as-a-snapshot 5.16 KB (🟢 -46.99 KB) 132.62 KB
/learn/synchronizing-with-effects 18.22 KB (🟢 -47.05 KB) 145.67 KB
/learn/thinking-in-react 7.22 KB (🟢 -47 KB) 134.67 KB
/learn/updating-arrays-in-state 9.42 KB (🟢 -47.03 KB) 136.87 KB
/learn/updating-objects-in-state 9.15 KB (🟢 -47.03 KB) 136.61 KB
/learn/writing-markup-with-jsx 4.62 KB (🟢 -46.98 KB) 132.07 KB
/learn/you-might-not-need-an-effect 17.59 KB (🟢 -47.06 KB) 145.04 KB
/learn/your-first-component 5.19 KB (🟢 -47 KB) 132.65 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.

@gaearon
Copy link
Member Author

gaearon commented Sep 4, 2022

Seems like global size went up but page sizes went down. Must be some factoring thing. I'll look again later.

@gaearon gaearon merged commit ccf8576 into main Sep 4, 2022
@rickhanlonii rickhanlonii deleted the rm-layouts branch April 29, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants