next-dynamic-no-ssr
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

About

This is a simple NoSSR wrapper component for your nextjs project. The wrapper uses dynamic import to disable server-side rendering of a component.

Installation

npm install next-dynamic-no-ssr

or

pnpm add next-dynamic-no-ssr

Import

import { NoSSR } from "next-dynamic-no-ssr";

Usage

To disable server-side rendering of your component, simply wrap your component with the NoSSR component.

<NoSSR>
  <YourComponent />
<NoSSR/>

License

MIT

/next-dynamic-no-ssr/

    Package Sidebar

    Install

    npm i next-dynamic-no-ssr

    Weekly Downloads

    65

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    17.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • centerlaw