Skip to content
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

Removed React import from pages/index.js #15144

Merged
merged 2 commits into from
Jul 14, 2020
Merged

Removed React import from pages/index.js #15144

merged 2 commits into from
Jul 14, 2020

Conversation

awareness481
Copy link
Contributor

This should close #12964 but I'm leaving it up to one of the Tims (or if there are other maintainers) to close the issue as they see fit.

@ijjk ijjk added the examples Issue was opened via the examples template. label Jul 14, 2020
Copy link
Member

@Timer Timer left a comment

Choose a reason for hiding this comment

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

I think this was all of them. Thanks!

@ijjk
Copy link
Member

ijjk commented Jul 14, 2020

Stats from current PR

Default Server Mode (Decrease detected ✓)
General
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
buildDuration 12.4s 11.8s -579ms
nodeModulesSize 66.5 MB 66.5 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
/ failed reqs 0 0
/ total time (seconds) 2.197 2.189 -0.01
/ avg req/sec 1137.77 1142.29 +4.52
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.469 1.526 ⚠️ +0.06
/error-in-render avg req/sec 1701.69 1638.68 ⚠️ -63.01
Client Bundles (main, webpack, commons)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.js gzip 6.72 kB 6.72 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..cead.js gzip 9.77 kB 9.77 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.4 kB 56.4 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.module.js gzip 5.79 kB 5.79 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 6.17 kB 6.17 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.9 kB 51.9 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
polyfills-HASH.js gzip 26.4 kB 26.4 kB
Overall change 26.4 kB 26.4 kB
Client Build Manifests
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
_buildManifest.js gzip 267 B 267 B
_buildManife..dule.js gzip 273 B 273 B
Overall change 540 B 540 B
Rendered Page Sizes
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
index.html gzip 955 B 955 B
link.html gzip 962 B 962 B
withRouter.html gzip 947 B 947 B
Overall change 2.86 kB 2.86 kB

Serverless Mode
General
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
buildDuration 13.1s 12.6s -509ms
nodeModulesSize 66.5 MB 66.5 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.js gzip 6.72 kB 6.72 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..cead.js gzip 9.77 kB 9.77 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.4 kB 56.4 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.module.js gzip 5.79 kB 5.79 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 6.17 kB 6.17 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.9 kB 51.9 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
polyfills-HASH.js gzip 26.4 kB 26.4 kB
Overall change 26.4 kB 26.4 kB
Client Build Manifests
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
_buildManifest.js gzip 267 B 267 B
_buildManife..dule.js gzip 273 B 273 B
Overall change 540 B 540 B
Serverless bundles
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
_error.js 881 kB 881 kB
404.html 4.17 kB 4.17 kB
hooks.html 3.79 kB 3.79 kB
index.js 881 kB 881 kB
link.js 923 kB 923 kB
routerDirect.js 917 kB 917 kB
withRouter.js 917 kB 917 kB
Overall change 4.53 MB 4.53 MB
Commit: 5f7089b

@ijjk
Copy link
Member

ijjk commented Jul 14, 2020

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
buildDuration 11.4s 11.3s -108ms
nodeModulesSize 66.5 MB 66.5 MB
Page Load Tests Overall increase ✓
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
/ failed reqs 0 0
/ total time (seconds) 1.875 1.901 ⚠️ +0.03
/ avg req/sec 1333.23 1314.94 ⚠️ -18.29
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.167 1.101 -0.07
/error-in-render avg req/sec 2141.89 2270.36 +128.47
Client Bundles (main, webpack, commons)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.js gzip 6.72 kB 6.72 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..cead.js gzip 9.77 kB 9.77 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.4 kB 56.4 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.module.js gzip 5.79 kB 5.79 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 6.17 kB 6.17 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.9 kB 51.9 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
polyfills-HASH.js gzip 26.4 kB 26.4 kB
Overall change 26.4 kB 26.4 kB
Client Build Manifests
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
_buildManifest.js gzip 267 B 267 B
_buildManife..dule.js gzip 273 B 273 B
Overall change 540 B 540 B
Rendered Page Sizes
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
index.html gzip 955 B 955 B
link.html gzip 962 B 962 B
withRouter.html gzip 947 B 947 B
Overall change 2.86 kB 2.86 kB

Serverless Mode
General
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
buildDuration 12.7s 12.8s ⚠️ +85ms
nodeModulesSize 66.5 MB 66.5 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.js gzip 6.72 kB 6.72 kB
webpack-HASH.js gzip 751 B 751 B
19b7e98f51cc..cead.js gzip 9.77 kB 9.77 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.4 kB 56.4 kB
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
main-HASH.module.js gzip 5.79 kB 5.79 kB
webpack-HASH..dule.js gzip 751 B 751 B
19b7e98f51cc..dule.js gzip 6.17 kB 6.17 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.9 kB 51.9 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
polyfills-HASH.js gzip 26.4 kB 26.4 kB
Overall change 26.4 kB 26.4 kB
Client Build Manifests
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
_buildManifest.js gzip 267 B 267 B
_buildManife..dule.js gzip 273 B 273 B
Overall change 540 B 540 B
Serverless bundles
vercel/next.js canary awareness481/next.js linaria-redundant-import Change
_error.js 881 kB 881 kB
404.html 4.17 kB 4.17 kB
hooks.html 3.79 kB 3.79 kB
index.js 881 kB 881 kB
link.js 923 kB 923 kB
routerDirect.js 917 kB 917 kB
withRouter.js 917 kB 917 kB
Overall change 4.53 MB 4.53 MB
Commit: a60d47d

@kodiakhq kodiakhq bot merged commit cb96da1 into vercel:canary Jul 14, 2020
@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue was opened via the examples template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redundant React Imports in next.js/examples
3 participants