rsnext/packages/next/client
Bruno Antunes 8340e6d345
[Image Component] image sizes property becomes 100vw by default (#20067)
Currently if sizes is not defined, Next.js is setting sizes as:
```
(max-width: 640px) 640px, (max-width: 750px) 750px, (max-width: 828px) 828px, (max-width: 1080px) 1080px, (max-width: 1200px) 1200px, (max-width: 1920px) 1920px, (max-width: 2048px) 2048px, 3840px'
```

This pull request will make sizes be `100vw` by default, which will allow us to download "smaller" images than what's currently happening. 

In a demo app I have, the difference is between downloading 488KB vs 1.4MB (in images)
2020-12-10 21:29:37 +00:00
..
dev Remove the static optimization indicator (#18629) 2020-11-02 09:27:36 +01:00
experimental-script.tsx Script loader component (#18281) 2020-12-01 19:10:16 +01:00
head-manager.ts Script loader component (#18281) 2020-12-01 19:10:16 +01:00
image.tsx [Image Component] image sizes property becomes 100vw by default (#20067) 2020-12-10 21:29:37 +00:00
index.tsx Use render after hydrate (#19442) 2020-11-23 15:04:12 +00:00
link.tsx Ensure data prefetch for default locale is correct (#19085) 2020-11-17 18:04:07 +00:00
next-dev.js Remove the static optimization indicator (#18629) 2020-11-02 09:27:36 +01:00
next.js Shave a few bytes off the bootstrap code (#14457) 2020-06-22 17:50:17 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts Ensure params and locale are parsed correctly in fallback mode (#19063) 2020-11-11 20:33:44 +00:00
performance-relayer.ts Update vitals URL (#19454) 2020-11-23 20:08:04 +00:00
polyfills.js polyfills 2020-03-30 16:26:25 -04:00
request-idle-callback.ts Replace page loader with new route loader (#19006) 2020-11-11 18:13:16 +00:00
route-loader.ts Fix prefetching in IE11 (#19171) 2020-11-15 16:18:16 -05:00
router.ts Update to have default locale matched on root (#17669) 2020-10-08 11:12:17 +00:00
use-intersection.tsx Replace page loader with new route loader (#19006) 2020-11-11 18:13:16 +00:00
with-router.tsx Convert wrapper class to function component (#9095) 2019-11-09 14:56:59 -08:00