1.0.2 • Published 10 years ago

react-sentry v1.0.2

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

react-sentry

TRAVIS NPM

js-standard-style

Listen to EventEmitters safely with automatic cleanup onComponentWillUnmount.

Example

var Sentry = require('react-sentry')
// ...

mixins: [Sentry],
// ...

getInitialState () {
	return { online: this.context.myStore.isOnline() }
},

componentDidMount () {
	this.watch(this.context.myStore, 'online', (online) => {
		this.setState({ online })
	})
},

// ...

License

This library is free and open-source software released under the MIT license.

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago