- 18 Oct, 2019 10 commits
-
-
JJ Kasper authored
-
Alex Castle authored
-
Joe Haddad authored
* Warn on No Cache in CI * Bold the note lead * Add custom clarification for netlify * Reorder * Add tests * Fix detection
-
Gerald Monaco authored
-
Liran Cohen authored
* allow to remove amphtml from desktop page * only 1 link with amphtml rel * clean up * remove checkup for amphtml link * Dedupe looping
-
JJ Kasper authored
* Register page export declaration to scope * Update to not need to traverse to update scope
-
Henrik Wenz authored
-
Henrik Wenz authored
## Changelog - Use functional components instead of class components - Use default exports like in all other examples - Rename `Portal` component to `ClientOnlyPortal`.
-
Melanie Seltzer authored
* Dedupe meta tag in favor of custom tag defined in _app * Add test * Fix comments
-
Henrik Wenz authored
## Changelog - Remove `getInitialProps` - Explain variants - Reflect latest changes in the prefetch api - Update UI
-
- 17 Oct, 2019 4 commits
-
-
Joe Haddad authored
-
JJ Kasper authored
* Don't mark page as nextExport if it's SPR * Add test for fetching prerender data after mount
-
Rafael Almeida authored
-
First Kanisorn Sutham authored
* Add the example of tailwindcss with emotion * Add README.md * Fix Unexpected trailing comma. * Update the readme, and use latest Next.js version
-
- 16 Oct, 2019 13 commits
-
-
Joe Haddad authored
-
JJ Kasper authored
* Update to return json if data request * Update sending data * Add test using serverless bundle directly * Don't early return if fromExport
-
Joe Haddad authored
-
Joe Haddad authored
-
Resi Respati authored
* [with-typescript] Updated TypeScript example to use API routes Next.js 9.0.0 has been out for a while, which supports API routes, but the examples were never updated to make use of it. This PR adds a simple example of an API route which also makes use of dynamic routing. A simple `fetch()` wrapper is also added for example purposes, and the pages structure have also been updated to dynamic routing. * Properly link to the dynamic page
-
Rafael Almeida authored
* Update inferno examples to v7.3 * Add polyfill for React.createContext * Alias react and react-dom with inferno-compat * Fix linter errors * Add warning about hooks and suspense support
-
Ismael Martínez authored
-
Henrik Wenz authored
## Changelog - Removed react-lazyload - Removed images - Removed ReactDOMServer from Client - Removed next.config.js ## Notes **CommonJS vs ESM:** In the future we might be able to use top level `await` in order to import only on the server (e.g.: `await import(“react-dom/server”)`) Until then we need to mix CommonJS and ESM in favor of messing with the webpack config.
-
Gerald Monaco authored
-
Andreas Opferkuch authored
The call to `accept.languages()` made the fallback not work. When called e.g. with `Accept-Language: es-ES,es;q=0.9`, `locale` would contain `[ 'es-ES', 'es' ]` instead of `en`. (See also: https://www.npmjs.com/package/accepts#languagelanguages )
-
Rafael Almeida authored
* Update preact example with Preact X * Update README
-
Alex Castle authored
* Update _document.tsx to optimize script loading * Update maxInitialChunks to 15 * Undo change chunk count * Adjust impl a bit * Add CSS preload test * Ensure build manifest not preloaded * Correct file name * break comment
-
JJ Kasper authored
* Add failing tests for SPR * Fix SPR always revalidating in production * Remove extra changes
-
- 15 Oct, 2019 4 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
This pull request is a temporary addition that uses the `x-now-route-params` header in serverless. This header returns the regex groups with indexes, not their named variants. As a result, we must use the getRouteMatcher utility to reverse this into Next.js' expected names. Since this got complex, I've added a test for it. We should probably remove this behavior sooner than later.
-
Joe Haddad authored
-
Hyeonjun (Jello) authored
-
- 14 Oct, 2019 4 commits
-
-
Joe Haddad authored
This pins chromedriver to the version specified in https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/win/Vs2017-Server2016-Readme.md.
-
Joe Haddad authored
-
Alex Castle authored
* Update framework chunk test regex to not select nested dependencies * Update webpack-config.ts
-
Gerald Monaco authored
-
- 13 Oct, 2019 1 commit
-
-
Nishant Singh authored
This block seemed redundant ``` To serve static files from the root directory you can add a folder called `public` and reference those files from the root, e.g: `/robots.txt`. ``` The block above this already mentions the same thing: ``` Create a folder called `public` in your project root directory. From your code you can then reference those files starting from the baseURL `/` ``` We could add the `robots.txt` eg to the first block itself if necessary
-
- 12 Oct, 2019 1 commit
-
-
Bauyrzhan authored
-
- 11 Oct, 2019 3 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
* Remove static optimization from message This check does not pertain to automatic static optimization. Closes https://github.com/zeit/next.js/issues/9042 * Update help message
-
Serhii authored
-