- 16 Oct, 2019 11 commits
-
-
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 7 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
-
Rafael Almeida authored
* Update storybook example to v5.2 with CSF * Fix linter errors
-
Luis Alvarez D authored
-
JJ Kasper authored
-
Luis Alvarez D authored
-
- 10 Oct, 2019 7 commits
-
-
JJ Kasper authored
* Update to error on usage of serverRuntimeConfig with serverless * Add tests for errors for serverless and runtime configs * Update docs wording
-
Tim Neutkens authored
-
Joe Haddad authored
* Do Not Rely on Module State * Update storage.ts
-
JJ Kasper authored
* Add buildId to SPR data routes * Update buildId replace in serverless loader * Use new RegExp and add comment * Apply suggestions from code review Co-Authored-By:Joe Haddad <joe.haddad@zeit.co> * Test to ensure client transition and handle / data route
-
Joe Haddad authored
-
armspkt authored
* example: add next-offline example * fix: fix readme * fix: lint standard
-
Sandrino Di Mattia authored
-
- 09 Oct, 2019 4 commits
-
-
Ismael Martínez authored
-
JJ Kasper authored
-
JJ Kasper authored
* Add CSS fixture for src dir * Revert relative customAppFile dir and update tests
-
manfwh authored
-
- 08 Oct, 2019 1 commit
-
-
Yamagishi Kazutoshi authored
-