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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.5
    65
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.5
    65
  • 0.1.4
    0
  • 0.1.3
    0
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

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