1.0.1 • Published 1 year ago

next-no-ssr v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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>
  </>
);