Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including react-measured with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. var reactMeasured = require("react-measured")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-measured v1.1.1

Core functionality for react-measured

react-measured

Build Status

Zero-dependency React bounding box providers and hooks for React.

Installation

react-measured is available as an NPM module (along with its TypeScript definitions):

# For npm users
npm install --save react-measured

# For yarn users
yarn add react-measured

IMPORTANT react-measured provides core functionality for bounding box providers. You most probably don't want to use it directly. If you are developing a browser based React app you might want to check out react-measured-dom. For native development react-measured-native package will soon be available for production use.

Issues

Please use the github issue tracker to submit any bugs or feature requests.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free