PHP 8.2.30
Preview: README.md Size: 625 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/use-isomorphic-layout-effect/README.md

# use-isomorphic-layout-effect

A React helper hook for scheduling a layout effect with a fallback to a regular effect for environments where layout effects should not be used (such as server-side rendering).

## Installation

```sh
$ npm i use-isomorphic-layout-effect
```

## Usage 

You only need to switch `useLayoutEffect` with `useIsomorphicLayoutEffect`

```diff
+ import useIsomorphicLayoutEffect from 'use-isomorphic-layout-effect';
- import { useLayoutEffect } from 'react';


const YourComponent = () => {
+  useIsomorphicLayoutEffect(() => {
-  useLayoutEffect(() => {
    // your implementation
  }, []);
};
```

Directory Contents

Dirs: 1 × Files: 3

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2026-02-28 00:28:16
Edit Download
1.04 KB lrw-r--r-- 2026-02-28 00:26:32
Edit Download
3.00 KB lrw-r--r-- 2026-02-28 00:27:36
Edit Download
625 B lrw-r--r-- 2026-02-28 00:27:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).