react-event-horizon
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

/react-event-horizon/

    Package Sidebar

    Install

    npm i react-event-horizon

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    1.54 kB

    Total Files

    2

    Last publish

    Collaborators

    • kashey