next-no-ssr
v1.0.1
Published
No SSR component for Next.JS
Downloads
860
Maintainers
Readme
Next No SSR
This package essentially makes it so whatever is rendered inside doesn't render with SSR. Pretty simple.
Installation:
npm install next-no-ssr
or
yarn add next-no-ssr
Usage:
import React from 'react';
import NoSSR from 'next-no-ssr';
const Page = () => (
<>
<h1>Page</h1>
<NoSSR>
<p>I will render with no SSR!</p>
</NoSSR>
</>
);