UNPKG

nextjs-router-events

Version:

A router events alternative for Next.js 13+ with app directory with the ability to prevent user navigation.

4 lines (3 loc) 177 B
export var isServer = function () { return typeof window === 'undefined'; }; // eslint-disable-next-line @typescript-eslint/no-empty-function export var noop = function () { };