- 17 10月, 2019 4 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Resi Respati 提交于
* [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 提交于
* 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
-
- 16 10月, 2019 10 次提交
-
-
由 Ismael Martínez 提交于
-
由 Henrik Wenz 提交于
## 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 提交于
-
由 Andreas Opferkuch 提交于
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 提交于
* Update preact example with Preact X * Update README
-
由 Alex Castle 提交于
* 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 提交于
* Add failing tests for SPR * Fix SPR always revalidating in production * Remove extra changes
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
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 提交于
-
- 15 10月, 2019 5 次提交
-
-
由 Hyeonjun (Jello) 提交于
-
由 Joe Haddad 提交于
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 提交于
-
由 Alex Castle 提交于
* Update framework chunk test regex to not select nested dependencies * Update webpack-config.ts
-
由 Gerald Monaco 提交于
-
- 14 10月, 2019 1 次提交
-
-
由 Nishant Singh 提交于
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 10月, 2019 2 次提交
-
-
由 Bauyrzhan 提交于
-
由 Joe Haddad 提交于
-
- 11 10月, 2019 11 次提交
-
-
由 Joe Haddad 提交于
* 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 提交于
-
由 Rafael Almeida 提交于
* Update storybook example to v5.2 with CSF * Fix linter errors
-
由 Luis Alvarez D 提交于
-
由 JJ Kasper 提交于
-
由 Luis Alvarez D 提交于
-
由 JJ Kasper 提交于
* Update to error on usage of serverRuntimeConfig with serverless * Add tests for errors for serverless and runtime configs * Update docs wording
-
由 Tim Neutkens 提交于
-
由 Joe Haddad 提交于
* Do Not Rely on Module State * Update storage.ts
-
由 JJ Kasper 提交于
* 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: NJoe Haddad <joe.haddad@zeit.co> * Test to ensure client transition and handle / data route
-
由 Joe Haddad 提交于
-
- 10 10月, 2019 3 次提交
-
-
由 armspkt 提交于
* example: add next-offline example * fix: fix readme * fix: lint standard
-
由 Sandrino Di Mattia 提交于
-
由 Ismael Martínez 提交于
-
- 09 10月, 2019 4 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Add CSS fixture for src dir * Revert relative customAppFile dir and update tests
-
由 manfwh 提交于
-
由 Yamagishi Kazutoshi 提交于
-