Skip to content

plugboy/next-dynamic-no-ssr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple NoSSR wrapper for your nextjs project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published