schizanon, to web

The has always had "Events"; like clicks and keydowns, but you couldn't create your own at first. So did what it does and invented hundreds of ways to create custom events; bindings, , , Streams, etc.

ReactJS "Hooks" are just another form of this; they are just callbacks that are executed at certain times in a component lifecycle.

Thing is; we have now! It's well supported since IE11 is gone.

https://caniuse.com/customevent

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • ethstaker
  • GTA5RPClips
  • modclub
  • normalnudes
  • cisconetworking
  • osvaldo12
  • tester
  • everett
  • cubers
  • Leos
  • anitta
  • provamag3
  • lostlight
  • All magazines