mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
41e39426eb
### What? This PR removes the automatic ESLint linting that previously ran during `next build`. The documentation has been updated to reflect this change. ### Why? As part of Next.js 16, we're removing the automatic build-time linting that was previously included in the build process. This gives developers more control over when linting runs by explicitly invoking their linter via npm scripts. ### How? - Updated documentation to clarify that automatic build-time linting has been removed in Next.js 16 - Removed the `runLint` parameter and related linting code from the build process - Removed the `verifyAndLint.ts` file which is no longer needed - Simplified type checking code by removing lint-related functionality - Removed ESLint telemetry during builds
Apollo Example
Apollo is a GraphQL client that allows you to easily query the exact data you need from a GraphQL server. In addition to fetching and mutating data, Apollo analyzes your queries and their results to construct a client-side cache of your data, which is kept up to date as further queries and mutations are run.
Deploy your own
How to use
Execute create-next-app with npm, yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-apollo with-apollo-app
yarn create next-app --example with-apollo with-apollo-app
pnpm create next-app --example with-apollo with-apollo-app
Deploy it to the cloud with Vercel (Documentation).