1.0.2 • Published 9 years ago

react-sentry v1.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
9 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

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago