- 23 11月, 2020 3 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
Fixes #19399
-
由 Tobias Lundgren 提交于
- Upgrade TypeScript example to Chakra UI v1 - Upgrade to React 17 - Patch some missing parts and fix broken icons in non TypeScript example - Add example how to persist color mode when you refresh the page: https://chakra-ui.com/docs/features/color-mode#add-colormodescript Source: https://chakra-ui.com/docs/migration
-
- 22 11月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
h/t to @prateekbh for noticing this test isn't cleaning up properly Closes: https://github.com/vercel/next.js/issues/19369
-
- 21 11月, 2020 8 次提交
-
-
由 Ivan V 提交于
Mobx version 6 has been released, and it's a big one. <blockquote class="twitter-tweet" data-partner="tweetdeck"><p lang="en" dir="ltr">Just released <a href="https://twitter.com/hashtag/mobx?src=hash&ref_src=twsrc%5Etfw">#mobx</a> 6! <br><br>
👉 makeAutoObservable😍 <br>👉 Decorator free by default<br>👉 Fully revamped docs for modern React <br>👉 Supersedes both MobX 4 and 5<br>👉 Codemod for migration<a href="https://t.co/U6EpZaNhyz">https://t.co/U6EpZaNhyz</a></p>— Michel Weststrate (@mweststrate) <a href="https://twitter.com/mweststrate/status/1311344102991159296?ref_src=twsrc%5Etfw">September 30, 2020</a></blockquote> Decorator support is officially dropped, so the syntax for creating observable objects has changed (checkout store.js). There is no need for custom babel configuration anymore. In comparison to current mobx examples, the difference is that I'm using regular `React.useContext` and `React.createContext` to consume the mobx store, [this is recommended by the official documentation.](https://mobx.js.org/react-integration.html#using-external-state-in-observer-components) When the component is wrapped in the observer function, the component function is given a name so it appears correctly in the react development tools. As of mobx v6 `mobx-react` package bundles `mobx-react-lite` so I could have used that package, but I've decided to use the `lite` one, because of the size. -
由 JJ Kasper 提交于
This updates the fallback locale for `locale: false` to be the `defaultLocale` instead of the currently active `locale` as it allows passing through URLs more seamlessly as a URL without the locale prefixed can be treated as the `defaultLocale` instead of having to worry if the locale matches the currently active locale. This also ensures `locale={false}` is tested in the i18n-support-catchall suite Closes: https://github.com/vercel/next.js/issues/19048
-
由 Connor Davis 提交于
* Exclude well known files when trailing slash: true * Update manifest test Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
由 JJ Kasper 提交于
-
由 Nikolas Santis 提交于
Adding a example with **Neo4j** native graph database. - with-apollo-neo4j-graphql: basic apollo configuration with neo4j driver and neo4j-graphql-js. :)
-
由 JJ Kasper 提交于
This adds additional test coverage and more handling for i18n + `trailingSlash: true` Closes: https://github.com/vercel/next.js/issues/19069
-
由 Yuri Yakovlev 提交于
- Bump the Tailwind version to v2.0 - Add necessary latest `postcss` and `autoprefixer` deps - Clean the tw config a bit - Add dark mode styles
-
由 JJ Kasper 提交于
This updates the export progress to make sure we log out the final progress update when less pages than number of progress updates (segments). This also adds tests to ensure we are logging the progress out as expected. Fixes: https://github.com/vercel/next.js/issues/19122 Closes: https://github.com/vercel/next.js/pull/19123
-
- 20 11月, 2020 7 次提交
-
-
由 JJ Kasper 提交于
This ensures navigations to non-configured locales causes the 404 page to be shown, it also adds tests to ensure direct visits for non-configured locales 404s correctly. Fixes: https://github.com/vercel/next.js/issues/19214
-
由 Shihabudheen US 提交于
Added the line _Prefetch can be disabled by passing `prefetch={false}`._
-
由 JJ Kasper 提交于
This makes sure we're using `next.js` in the err.sh links instead of `nextjs` since that leads to a 404
-
由 Karl Horky 提交于
~~
‼ ️ **Blocked** on https://github.com/vercel/next.js/issues/18096~~ Probably resolved here: https://github.com/vercel/next.js/issues/18096#issuecomment-729868888 Ref: https://github.com/emotion-js/emotion/pull/2062 Ref: https://github.com/emotion-js/emotion/issues/2041#issuecomment-720053255 Example upgrade here: https://github.com/upleveled/next-js-example-sep-2020/commit/f46407e345d3a00e99066d0276acb768f11ad02e -
由 JJ Kasper 提交于
This adds a note about current `i18n` support and `next export` since it is not currently supported as was mentioned in the [initial RFC](https://github.com/vercel/next.js/discussions/17078) x-ref: https://github.com/vercel/next.js/issues/18318
-
由 JJ Kasper 提交于
This fixes the case where we were returning page data when rendering `/_error` in `serverless` mode with `next start` Closes: https://github.com/vercel/next.js/issues/19068
-
由 Sylvain Bannier 提交于
-
- 19 11月, 2020 2 次提交
-
-
由 Lee Robinson 提交于
Some slight tweaks to match the corresponding blog post.
-
由 Joe Haddad 提交于
This PR removes the modern mode experiment because: - It does not yield meaningful bundle size wins when compared to other initiatives we've taken - It's not compatible with webpack 5 (which we're upgrading to) - It's currently broken and causes most apps to malfunction - There's no champion currently owning the experiment We can re-introduce this in the future when we'd like to make it a default for all Next.js apps. Note: **Next.js still supports Differential Loading (`nomodule`) and does it by default.** This PR strictly removes the experimental modern _syntax_, and does not disable our existing modern/legacy polyfilling. --- Fixes #19200 Fixes #18960 Fixes #14707 Fixes #14465
-
- 18 11月, 2020 9 次提交
-
-
由 Joe Haddad 提交于
-
由 Vitor Dino 提交于
-
由 Luis Alvarez D 提交于
Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Ondřej Chrastina 提交于
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This ensures redirects are handled properly with i18n + `trailingSlash: true`, additional tests have also been added to ensure this is covered Fixes: https://github.com/vercel/next.js/issues/19069
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This makes sure SSG data is correctly prefetched for the default locale and other locales on the same page. Tests for this behavior have been added for catch-all and normal pages. Closes: https://github.com/vercel/next.js/issues/19048
-
由 Joe Haddad 提交于
This fixes compatibility with React 17 and `styled-jsx`. Fixes #19242
-
- 17 11月, 2020 5 次提交
-
-
由 Tim Neutkens 提交于
-
由 Lee Robinson 提交于
Building off the "Migrating to Next.js" section started, this doc provides information on using `rewrites`, `redirects`, and micro-frontends to incrementally adopt Next.js in your codebase.
-
由 GH Lee 提交于
ref. https://github.com/vercel/next.js/pull/14519, https://github.com/vercel/next.js/pull/15062 Add limitation for Anonymous arrow functions.
-
由 Paul van Dyk 提交于
fixes the event argument inside the function call - argument is `e` but `event` was used instead
-
由 Luis Alvarez D 提交于
~Updated the `with-zones` example and docs to use `@vercel/next` instead of `@now/next` and also updated the readme instructions with better steps.~ ~Related to https://github.com/vercel/next.js/issues/12317 - Looks like there may be an issue with the example but it continues to work as expected to me, moving away from `@now/next` may help.~ Fixes https://github.com/vercel/next.js/issues/12317 Closes https://github.com/vercel/next.js/issues/12317 Moved the example to use [Vercel Monorepos](https://vercel.com/blog/monorepos). Locally it switches to `next dev` instead of `vercel dev`.
-
- 16 11月, 2020 5 次提交
-
-
由 Abdullah Mzaien 提交于
Upgraded charkra ui and peer dep and fixed the icon to follow the new api
-
由 Amr Saber 提交于
Update the mentioned redirection status message.
-
由 Yordis Prieto 提交于
The intention is to show people the correlation between things, in this case, understand the usage of the same key from the props and the rehydration. Hopefully, this change will bring value as it has done with some Juniors already.
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-