/example-react-resize-observer

An example of the Resize Observer API in React

Primary LanguageJavaScriptMIT LicenseMIT

A title card with the text: Resize Observer API with React

Example of Resize Observer API with React

What is this?

An example of the Resize Observer API being used in React with a custom hook.

How can I run it?

Once you've cloned the repo, make sure you have node and npm installed. Then just run the usual: npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.