- 27 2月, 2019 1 次提交
-
-
由 laiso 提交于
I'm working on examples/with-graphql-react changes to: - Next v7 to v8.0 and update dependencies - fix some errors for the change of graphql-react API
-
- 26 2月, 2019 3 次提交
-
-
由 Matsumoto Toshi 提交于
* update next-preact * Update package.json
-
由 JJ Kasper 提交于
-
由 Joe Haddad 提交于
-
- 25 2月, 2019 2 次提交
-
-
由 HelloRusk 提交于
with-aphrodite example link didn't work properly
-
由 Jesse Hoffman 提交于
Next.js no longer uses `jsonPageRes`. This PR removes it from `en-us` and `zh-cn` documentation (formatting picked up some changes on zh-cn readme). Also updated the Flow type def for `getInitialProps`. Resolves #6363
-
- 24 2月, 2019 1 次提交
-
-
由 Jepser Bernardino 提交于
Since version 18 (released in January), Hapi's `request.url` returns the parsed URL, so `parse` is not needed. Ref: - https://hapijs.com/api#-requesturl - https://github.com/hapijs/hapi/pull/3822
-
- 22 2月, 2019 2 次提交
-
-
由 Pierre de la Martinière 提交于
* Fix hot reloading in the yarn workspaces example * Update README links
-
由 Kévin Dunglas 提交于
[React ESI](https://github.com/dunglas/react-esi) is a brand new cache library for vanilla React and Next.js applications, that can make highly dynamic applications as fast as static sites by leveraging the open Edge Server Include specification. https://github.com/dunglas/react-esi Because this spec is widespread, React ESI natively supports most of the well-known cloud cache providers including Cloudflare Workers, Akamai and Fastly. Of course, React ESI also supports the open source Varnish cache server that you can use in your own infrastructure for free (configuration provided). This PR shows how to integrate React ESI with Next.js.
-
- 21 2月, 2019 7 次提交
-
-
由 Joe Haddad 提交于
-
由 HelloRusk 提交于
I renewed Rust installation Link.
-
由 Vincent Grafé 提交于
I spotted a few typos in the server files, that might confuse new/unexperienced users. I hope I did catch them all!
-
由 Robert Sköld 提交于
-
由 Ariel Fuggini 提交于
Fixes https://github.com/zeit/next.js/issues/6201 Fixes #5912
-
由 Jess Telford 提交于
-
由 Connor Davis 提交于
-
- 20 2月, 2019 4 次提交
-
-
由 Jess Telford 提交于
-
由 Jess Telford 提交于
-
由 HelloRusk 提交于
-
由 JJ Kasper 提交于
After talking with @timneutkens it was decided it'd be more streamlined to replace the onDemandEntries WebSocket with an alternative. Using the EventSource connection gives us these benefits over the WebSocket one: - less code needed - no extra server running - no extra config for onDemandEntries
-
- 18 2月, 2019 2 次提交
-
-
由 Jess Telford 提交于
If this is an acceptable pattern, I'm happy to open a PR to add these links to all the other examples also
👍 -
由 Timon Borter 提交于
-
- 17 2月, 2019 1 次提交
-
-
由 Ahmed Tarek 提交于
-
- 16 2月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
After discussion, I added falling back to fetch based pinging when the WebSocket fails to connect. I also added an example of how to proxy the onDemandEntries WebSocket when using a custom server. Fixes: #6296
-
- 15 2月, 2019 2 次提交
-
-
由 Timon Borter 提交于
-
由 Felix Mosheev 提交于
-
- 14 2月, 2019 1 次提交
-
-
由 Jonathan Reed 提交于
# Description * Fixes incorrect assertion of configuration file in the `with-hashed-statics` README as well as adds link to line for updating
-
- 12 2月, 2019 1 次提交
-
-
由 Spencer Elliott 提交于
`initialProps.styles` is a React node, but not guaranteed to be an array, so we can use a fragment to concatenate additional styles. See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/32932#issuecomment-462372319
-
- 11 2月, 2019 5 次提交
-
-
由 Juan Olvera 提交于
* extract request login from auth * add clarification that the monorepo is for deploy in Now only and fix typo * Refactor HOC - add authorization to HOC - add displayName to HOC - remove unnecessary `run`s in local routing
-
由 Fredrik Höglund 提交于
* Updated examples for build-time env configuration for v8 * Add comment to build time config example with how to include entire .env
-
由 Resi Respati 提交于
-
由 Resi Respati 提交于
As per discussion in #6165, I removed the `passHref` in `Link` as they're unnecessary.
-
由 Fredrik Höglund 提交于
-
- 04 2月, 2019 1 次提交
-
-
由 Henri 提交于
This updates the react-jss example to work with the v10 alpha
-
- 01 2月, 2019 1 次提交
-
-
由 Resi Respati 提交于
I've just thought of a way to improve the initial props page by adding an example for a list/detail page structure. To do that, I've created a separate `/detail` page, and a mock API which calls data from the array we made on the previous PR. A ListDetail component is created as an example for displaying detail. Page structure is also cleaned up. Should I go ahead and add an example on how to style with styled-jsx + its TS declarations? I might decide to do it within this week anyway.
-
- 31 1月, 2019 1 次提交
-
-
由 Petr Messner 提交于
Update examples with-relay-modern and with-relay-modern-server-express to react-relay 2.0.0 - react-relay has started to use new Context API instead of Legacy Context API - add `parseInt` because graphql 14.0.0 introduced stricter scalar value coercion Closes #6157
-
- 30 1月, 2019 1 次提交
-
-
由 Timon Borter 提交于
This reverts the changes made in [this pr](https://github.com/zeit/next.js/pull/6109). `redux-saga: "1.0.0"` changed the way it handles it's queues. Because of that we're still having trouble to implement the synchronous side-effects flow in `next-redux-saga`. See [this discussion](https://github.com/bbortt/next-redux-saga/pull/1) for more information. Therefore I would feel more comfortable not to mislead users by giving them a non-working example in the main branch.
-
- 29 1月, 2019 2 次提交
-
-
由 Jan Bejvl 提交于
Updated README.md with proper link to 'root-static-files' example.
-
由 Benjamin Hanes 提交于
Fixes https://github.com/zeit/next.js/issues/6138 Tested with both latest and 8.0.0-canary.17
-
- 28 1月, 2019 1 次提交
-
-
由 Marcin Czenko 提交于
I tried to make the example a bit more descriptive. I changed `publicPath` in `now.config.js` to be `/_next/static/`, in place of `./`, and `outputPath` to `static/` in place of `static/css/`. The reason is that the webpack config will still fallback to `file-loader` for any content that is imported by the user and which is bigger that `8192` bytes. I think this content should not land in the css folder, which should probably stay css specific. Moreover, for user content, like regular images, the former settings will fail. If you have this: ```javascript import LargeFile from './LargeFile.png' ``` it would be placed in `static/css/` but its url would resolve to `<base-url>/LargeFile.png`, which will fail. It works for semantic-ui alone, because `@zeit/next-css` will put the styles in `static/css/` and so `publicPath` of `./` would work just fine. Putting assets in `static/` and setting `publicPath` to '/_next/static/' will resolve correctly for both semantic-ui related assets as well as for regular user assets. I hope I am not mixing something up. I tested it locally and in serverless deployment, and this looks pretty consistent.
-