next-graphql-react

16.0.0 • Public • Published

graphql-react logo

next-graphql-react

A graphql-react integration for Next.js.

Installation

Within an existing Next.js project, to install next-graphql-react and its graphql-react peer dependency with npm, run:

npm install next-graphql-react graphql-react

Setup the Next.js custom App module:

Then React hooks imported from graphql-react can be used within the Next.js project pages and components.

Requirements

Supported runtime environments:

Projects must configure TypeScript to use types from the ECMAScript modules that have a // @ts-check comment:

Exports

The npm package next-graphql-react features optimal JavaScript module design. It doesn’t have a main index module, so use deep imports from the ECMAScript modules that are exported via the package.json field exports:

/next-graphql-react/

    Package Sidebar

    Install

    npm i next-graphql-react

    Weekly Downloads

    174

    Version

    16.0.0

    License

    MIT

    Unpacked Size

    17.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • jaydenseric