Determine If You Are On The Server Or browser – use-ssr

use-ssr is a React hook to determine if you are on the server or browser.

Features:

  • SSR (server side rendering) support
  • TypeScript support
  • Zero dependencies

Installation:

# Yarn
$ yarn add use-ssr

# NPM
$ npm install use-ssr --save

Preview:

Determine If You Are On The Server Or browser - use-ssr

Download Details:

Author: alex-cory

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/alex-cory/use-ssr

License: MIT

You Might Be Interested In:

Tags:

Add Comment