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.