- 03 Mar, 2019 2 commits
-
-
Tim Neutkens authored
-
JJ Kasper authored
Also added integration test in production for this Fixes: #6285
-
- 02 Mar, 2019 4 commits
-
-
JJ Kasper authored
* Add warning on stalled page load possibly from too many tabs open * Add test for stalled warning * Update onDemand pinging to close on routeChangeStart and added warning when onDemand handler detects multiple tabs from the same browser
-
JJ Kasper authored
* Updated entries to not output _app and _document in serverless * Add test
-
Mike Francis authored
* Added with-typescript-styled-components example * Fix linting errors
-
JJ Kasper authored
Fixes: #6468
-
- 01 Mar, 2019 9 commits
-
-
Joe Haddad authored
* Format a few documents * Drop `renderToAMP` and `renderToAMPHTML`
-
Joe Haddad authored
-
JJ Kasper authored
-
Joe Haddad authored
-
Joe Warren authored
Adds an example app using [graphql-hooks](https://github.com/nearform/graphql-hooks) that started life as the with-apollo example app. It uses the same graph.cool backend, mostly to demonstrate how similar it is.
-
JJ Kasper authored
* Show error when `router` or `Component` are returned in _app.js getInitialProps * Update to only show error in dev mode * Update packages/next-server/server/render.tsx Co-Authored-By:ijjk <22380829+ijjk@users.noreply.github.com>
-
Tim Neutkens authored
-
Anton Egorov authored
Fixes #6481
-
Tim Neutkens authored
* await config * update config-promise-error test * Actually update test
-
- 28 Feb, 2019 9 commits
-
-
Joe Haddad authored
This is a simple Babel plugin that overwrites certain attributes for `amp-` elements.
-
Joe Haddad authored
-
Joe Haddad authored
-
tangye authored
* make router UrlIsNew comparing method work as expected * Remove shallow-equals from router and update urlIsNew check * Remove shallow-equals test since it is no longer used * Add integration test for asPath query
-
JJ Kasper authored
* Move next-bundle-analyzer to Next.js repo * Remove options from bundle-analyzer
-
Joe Haddad authored
* refactor(on-demand-entries): extract method: setupPing * Setup ping for amp pages * Missed a call
-
Joe Haddad authored
* refactor(on-demand-entries): extract method: setupPing * Missed a call
-
JJ Kasper authored
* Fix dynamic require breaking after updating to v8 * Add test for dynamic require
-
JJ Kasper authored
After discussion, it was decided we should throw an error when a promise is returned in `next.config.js` as this isn't supported Fixes: #6416
-
- 27 Feb, 2019 10 commits
-
-
JJ Kasper authored
After discussion added global styles to experimental-amp example
-
JJ Kasper authored
Fixes: https://github.com/zeit/now-builders/issues/160
-
Joe Haddad authored
-
Joe Haddad authored
ncc unistore to fix install warning
-
Tim Neutkens authored
-
Kiko Beats authored
Hello, I have been using next.js for a while in a bunch of projects, so first for all thanks for all the vibrant effort around the project
🖤 . Always I see the server side next.js approach as an advantage, but also a weakness for the extra resources you need to have, specially comparing how cheap is a client side app. In order to do my things cheaper, I started using the SSR pattern you suggested in your examples, so useful! It saves time and resources. However, it was *too simple*. In a real production scenario, you need a bit more, specially related with send the right response headers to keep the rest of external network agent updated of your cache state. I started a tiny script code for doing that; basically, I copy/paste it on my ssr projects. Now, after a time, I think it's worth it publish it as [cacheable-response](https://github.com/Kikobeats/cacheable-response) module. The PR is for adding the module leverage into the next.js ssr example. It's doing the same, plus: - be possible use a multi storage cache (memory by default; mongodb, redis, mysql, supported). - sending `cache-control` response headers. - sending `X-Cache-Expired-At`, just a humanize way to see the expiration time. - support for forcing invalidation via `force=true` query parameter. I hope you like it🙂 -
Samundra Shrestha authored
* add extra info to authentication * Update auth.js
-
Luc authored
The latest version of babel-jest doesn't require `babel-core` with the bridge version anymore (updated in this PR : https://github.com/facebook/jest/pull/7016). So I'm updating with-jest and with-jest-react-testing-library examples accordingly.
-
Peter Kellner authored
* This is a non-working example of using PHASE_DEVELOPMENT_SERVER and PHASE_PRODUCTION_SERVER in production. I followed @timneutkens gist but was unable to make it work so I've boiled it down into this non-working example which I believe is the same. The README is not updated. Once it is figured out why this is not working, I'll clean up the project and update the pull request to be complete but for now just want to make it work. * added .eslintrc so that ` eslint . --fix` would work (not sure if that was really necessary). I assume that is same as `yarn lint-fix`. * fixes for standard style * fixes for standard style * Fix example and add some comments * Updated documentation and small change to logic of prod,dev,staging to work as expected. Added significantly more doc then I normally would in the hopes that it helps someone avoid the mis-understanding I went through. If it's too much, LMK and I'll reduce. * removed eslint and updated package.json to get rid of eslint and standardjs
-
JJ Kasper authored
After discussion it was decided instead of rewriting `next/config` and `next/head` imports to `next-server/config` and `next-server/head` we should just allow importing them as `next/config` and `next/head` Fixes: #6187
-
- 26 Feb, 2019 6 commits
-
-
laiso authored
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
-
Connor Davis authored
-
Connor Davis authored
-
Connor Davis authored
-
Matsumoto Toshi authored
* update next-preact * Update package.json
-
Jan Potoms authored
* Add failing test Test case for https://github.com/zeit/next.js/issues/6285 and https://github.com/zeit/next.js/issues/6380 * WIP * refactor and fix test * not problem * refactor back * rename variables like https://github.com/zeit/next.js/blob/canary/packages/next/server/on-demand-entry-handler.js#L163 * Update usage and add comment
-