- 18 Aug, 2020 16 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
1. `as` should be set before `rel` in case of `preload` or `prefetch` 2. `href` should be after `onload` and `onerror`
-
Joe Haddad authored
This fixes an edge case where every dozen or so transitions you'll see a flash depending on what's happening on the main thread at the time. I'm not sure it's possible to test for this case, so we'll just have to do more field testing with this.
-
Joe Haddad authored
This PR replaces `prop-types-exact` (only used in this location) with manual property checking. Right now, malformed properties sent to `<Link>` are silently handled and only emit a warning in the console. This leads to confusing/unexpected errors because we try to read a value that is undefined. To fix this, we'll now throw a proper error when `<Link>` is misused. **This still isn't optimal, however, because we don't have a component stack trace we can give the user**. We're not going to be able to give the user actionable instructions until React 16.14 at a minimum. --- Fixes #13951 Fixes #16107 Closes #13962
-
Todor Totev authored
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
Fixes #16260
-
Tim Neutkens authored
Don't use this yet as it's still being developed. This is a first iteration that enables the webpack cache. There's still more to do here, for example if css modules are used there's currently a bug where webpack does not save the cache for browser compilation (impacting build performance). @sokra is going to look into that issue.
-
Louis Juliendo authored
Just correcting a simple typo `fash` to `fast`
-
James Mosier authored
Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
Rounak Agarwal authored
Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
Joe Haddad authored
-
Vishnu Sankar authored
Co-authored-by:Luis Alvarez <luis@vercel.com>
-
Joe Haddad authored
-
JJ Kasper authored
This fixes an error that was occurring in ie11 due to `forEach` being called on `querySelectorAll` before it was massaged to an array. x-ref: https://github.com/vercel/next.js/pull/16126 Fixes #16283
-
- 17 Aug, 2020 8 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
This pull request adds a test case for the reproduction provided in #12445. This bug is specifically caused when loading the next page before navigation has actually occurred. --- Fixes #12445
-
JJ Kasper authored
-
Kristoffer K authored
-
Kevin Mårtensson authored
AMP will still not work correctly when switching between non-AMP and AMP pages in development mode because of https://github.com/vercel/next.js/blob/canary/packages/next/build/babel/plugins/next-page-config.ts#L116-L120. Fixes #15704.
-
JJ Kasper authored
This fixes the incorrect `/_next/data` URL being generated on client transition due to the `as` value passed to `getRouteInfo` having the `basePath` which is used while interpolating the values for dynamic routes, specifically root catch-all routes. A regression test has also been added to ensure this is working Closes: https://github.com/vercel/next.js/issues/15747
-
Tim Neutkens authored
-
Tim Neutkens authored
-
- 16 Aug, 2020 2 commits
-
-
Sergey Rubanov authored
Co-authored-by:
Tim Neutkens <timneutkens@me.com> Co-authored-by:
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
cargallo authored
Added a section in readme with the proper use of the plugin with next-compose-plugins ^2.0.0, otherwise it doesn't work
-
- 15 Aug, 2020 2 commits
-
-
Tuan Nguyen authored
Just noticed a couple of tiny grammar errors.
-
Rafael Almeida authored
* Update with-storybook example * Delete with-storybook-typescript example * Add TypeScript section to the README Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 14 Aug, 2020 8 commits
-
-
Joe Haddad authored
-
JJ Kasper authored
This updates to not automatically append params to the query for rewrites if one or more of the params are already used in the destination's path. No other behavior is being changed and if the user still wants the params in the query after using them in the destination's path they can manually add them like with redirects. Closes: https://github.com/vercel/next.js/issues/15626
-
Artem Zakharchenko authored
* Add MSW usage example * Updated example * Added .gitignore * Added .gitignore in the right place lol Co-authored-by:Luis Alvarez <luis@vercel.com>
-
Joe Haddad authored
Instead of reading the `BuildManifest` and passing it to `/_document`, it should be able to read it for itself. --- Fixes #16182
-
Kristoffer K authored
**What's the problem this PR addresses?** https://github.com/vercel/next.js/pull/16048 stopped bundling `caniuse-lite` but didn't declare it as a dependency https://github.com/yarnpkg/berry/runs/972037981?check_suite_focus=true#step:5:75 **How did you fix it?** Add `caniuse-lite` as a dependency --- cc @Timer As mentioned in https://github.com/vercel/next.js/issues/14157#issuecomment-667328984 I looked into adding a PnP e2e test but the use of the `gist` protocol stopped me from getting it to work since v2 doesn't support that yet. Would it be possible to change this to one of the supported protocols (https://yarnpkg.com/features/protocols)? https://github.com/vercel/next.js/blob/636672755004c756eefcddb5d4ccabbc1855e75a/packages/next/package.json#L208
-
Joe Haddad authored
-
Joe Haddad authored
This pull request edits the `BuildManifest` that is sent to `/_document` instead of modifying a single input array to decouple its implementation details. Optimally, we'd eliminate the `files` key all together. --- Related to #16182
-
JJ Kasper authored
-
- 13 Aug, 2020 4 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
Fixes #16166
-