paulgray.net

Posts about hooks:

A Proposal for an Alternative Design for Hooks
October 31, 2018
preface: If you haven’t, please read the Hooks Intro, otherwise this post won’t make sense to you. To the React team: Thanks for a great framework. I enjoy using React every day, and it’s all credit to your hard work. Hook functions (currently as of 10/31/2018): Have signatures which are indistinguishable from normal functions. Have hidden complexity around ordering hooks. Have no way to be unit...