1.0.7 • Published 7 years ago

react-log-updates v1.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

React Log Updates

Log the number of updates occurring, broken down by components.

Note: you'll have to attach React's DevTools before being able to see any logs.

Install

npm install --save react-log-updates

Usage

import logUpdates from 'react-log-updates';

logUpdates ({
  enabled: IS_DEVELOPMENT
  // collapsed: false // Don't collapse the console group
  // include: /Foo|Bar/i // Filter out if the name of the component doesn't match this regex
  // exclude: /Baz/i // Filter out if the name of the component matches this regex
});

Demo

Related

License

MIT © Fabio Spampinato

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago