Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

next-no-ssr

jamie09__199MIT1.0.1

No SSR component for Next.JS

next, no, ssr, no-ssr, next-no-ssr, nextjs, next.js, nextjs-no-ssr, next.js-no-ssr

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