No description
Find a file
Ivan Kleshnin 74c2600b46
Fix api-routes-apollo-server-and-client-auth Example (#10334)
* Fix api-routes-apollo-server-and-client-auth Example

`client.resetStore()` must be called after SignIn, SignOut actions

Otherwise, even the current basic auth is not working 100% of the time...

For example, as caching occurs here:

```
const { data, loading } = useQuery(ViewerQuery)
```

it sometimes (race conditions!) prevents a user from signing in
the current code base.

Check https://github.com/apollographql/apollo-cache-persist/issues/34#issuecomment-371177206 comment for more info.

* Fix api-routes-apollo-server-and-client-auth Example (linting)
2020-01-30 14:33:42 +01:00
.github Disable caching for react@next workflow as its not supported (#10331) 2020-01-30 00:14:50 -05:00
.vscode Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
bench Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
docs Update note about public and pages overlap (#10287) 2020-01-30 01:13:55 -05:00
errors fix: 9919 Add warning when no config is exported from next.con… (#10228) 2020-01-29 09:12:30 +01:00
examples Fix api-routes-apollo-server-and-client-auth Example (#10334) 2020-01-30 14:33:42 +01:00
packages v9.2.2-canary.4 2020-01-30 13:41:40 +01:00
test [Experimental] Nomodule polyfills chunk (#10212) 2020-01-30 01:04:29 -05:00
.eslintignore Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
.eslintrc.json Fix ESLint Ignores and Extract Fn (#10205) 2020-01-22 09:32:51 -05:00
.gitignore Improve exported router types (#7853) 2019-07-11 13:35:39 -04:00
.npmrc Remove version prefix 2018-10-02 01:35:56 +02:00
.prettierignore Improve prettier ignore (#8753) 2019-09-16 14:18:08 +02:00
.prettierignore_staged Adjust Commit Linting Hook (#9694) 2019-12-10 20:29:39 -06:00
.prettierrc.json Update Prettier configuration 2019-04-26 14:37:30 -04:00
azure-pipelines.yml Update tests running and add splitting by timings for Azure (#10214) 2020-01-23 12:37:01 -05:00
CODE_OF_CONDUCT.md Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
contributing.md Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
jest.config.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
lerna.json v9.2.2-canary.4 2020-01-30 13:41:40 +01:00
license.md Zeit -> ZEIT (#5804) 2018-12-03 23:01:23 +01:00
lint-staged.config.js Adjust Commit Linting Hook (#9694) 2019-12-10 20:29:39 -06:00
package.json Fix ESLint Ignores and Extract Fn (#10205) 2020-01-22 09:32:51 -05:00
publish-release.sh Make sure to exit publish script with correct code (#10310) 2020-01-28 14:03:32 -05:00
readme.md Monorepo (#5341) 2018-10-01 01:02:10 +02:00
run-tests.js Migrate CircleCi config to GitHub actions (#10274) 2020-01-27 14:07:31 -06:00
UPGRADING.md Revert "Test" 2020-01-28 17:04:34 -08:00
yarn.lock [Experimental] Nomodule polyfills chunk (#10212) 2020-01-30 01:04:29 -05:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the documentation.

Contributing

Please see our contributing.md.

Authors