James Brightman
May 12, 2022

--

Yeah I agree, the name isn’t amazing. It’s a shame they already used the name “useCallback” because that would fit well here.

I think they went with “useEvent” because of the link to event handling — eg/ you’re probably going to wrap methods in useEvent which you use as in onClick() functions.

--

--

James Brightman
James Brightman

Written by James Brightman

I write about stuff I find interesting. Usually WebDev, React and occasionally Finance.

No responses yet