Comment
Comment by drabinowitz
I wonder if it would makes sense to enforce hooks being called through a top level React function. To make some of the ordering more explicit
admittedly, this is much less clean looking than the current proposal, but, in my mind at least, it makes it a bit more clear that you have to pass the functions in with a specific order at the top of the component.