next-no-ssr

1.0.1 • Public • Published

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

/next-no-ssr/

    Package Sidebar

    Install

    npm i next-no-ssr

    Weekly Downloads

    68

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.25 kB

    Total Files

    6

    Last publish

    Collaborators

    • jamie09__