You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@not-govuk/client-renderer

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@not-govuk/client-renderer

A client-side renderer of React applications served via the server-renderer.

0.16.2
latest
npmnpm
Version published
Weekly downloads
1.6K
682.69%
Maintainers
1
Weekly downloads
 
Created
Source

Not Govuk - Client Renderer

A client-side renderer of React applications served via the server-renderer.

Using this package

First install the package into your project:

npm install -S @not-govuk/client-renderer

Then use it in your code as follows:

import { hydrateOrRender } from '@not-govuk/client-renderer';
import { AppWrap } from '../common/app-wrap';
import { PageWrap } from '../common/page-wrap';
import { ErrorPage } from '../common/error-page';
import { LoadingPage } from '../common/loading-page';
import { pageLoader } from '../common/page-loader';

hydrateOrRender(AppWrap, PageWrap, ErrorPage, LoadingPage, pageLoader);

Working on this package

Before working on this package you must install its dependencies using the following command:

pnpm install

Building

npm run build

Clean-up

npm run clean

FAQs

Package last updated on 30 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts