- 19 8月, 2020 6 次提交
-
-
由 Tim Neutkens 提交于
-
由 Alex Castle 提交于
Fixes a small error in the image preload post-processor. Adds a needed 'as' attribute to the link.
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
1. `as` should be set before `rel` in case of `preload` or `prefetch` 2. `href` should be after `onload` and `onerror`
-
由 Joe Haddad 提交于
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 提交于
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
-
- 18 8月, 2020 17 次提交
-
-
由 Todor Totev 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
Fixes #16260
-
由 Tim Neutkens 提交于
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 提交于
Just correcting a simple typo `fash` to `fast`
-
由 James Mosier 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 Rounak Agarwal 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 Joe Haddad 提交于
-
由 Vishnu Sankar 提交于
Co-authored-by: NLuis Alvarez <luis@vercel.com>
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
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
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
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 提交于
-
由 Kristoffer K 提交于
-
由 Kevin Mårtensson 提交于
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.
-
- 17 8月, 2020 4 次提交
-
-
由 JJ Kasper 提交于
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 提交于
-
由 Tim Neutkens 提交于
-
由 Sergey Rubanov 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 16 8月, 2020 3 次提交
-
-
由 cargallo 提交于
Added a section in readme with the proper use of the plugin with next-compose-plugins ^2.0.0, otherwise it doesn't work
-
由 Tuan Nguyen 提交于
Just noticed a couple of tiny grammar errors.
-
由 Rafael Almeida 提交于
* Update with-storybook example * Delete with-storybook-typescript example * Add TypeScript section to the README Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 15 8月, 2020 3 次提交
-
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
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 提交于
* Add MSW usage example * Updated example * Added .gitignore * Added .gitignore in the right place lol Co-authored-by: NLuis Alvarez <luis@vercel.com>
-
- 14 8月, 2020 7 次提交
-
-
由 Joe Haddad 提交于
Instead of reading the `BuildManifest` and passing it to `/_document`, it should be able to read it for itself. --- Fixes #16182
-
由 Kristoffer K 提交于
**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 提交于
-
由 Joe Haddad 提交于
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 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-