2.0.0 • Published 6 years ago

react-event-horizon v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

event horizon

Just before the Black Hole.

import {EventHorizon} from 'react-event-horizon';

<UpdateSource>
  Will be updated
  <EventHorizon>
    will NOT be updated
  </EventHorizon>
  
  <EventHorizon anyProp={anything}>
      will update when anyProp updates
  </EventHorizon>
  
  <EventHorizon onUpdate={() => alert('updated')} prop={prop}>
        will update and trigger onUpdate (only) when prop updates
    </EventHorizon>
</UpdateSource>

Licence

MIT

2.0.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago