HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spicebox

no profile record

comments

spicebox
·قبل 10 أشهر·discuss
The whole reason that hooks were created was that they could composed, as opposed to stuff like renderprops or mixins. When you create a custom hook that uses a useState and a useEffect, that's composition. They have the caveat that they can only be composed into new hooks, but that's just like async functions only being able to be called from other async functions.
spicebox
·قبل سنتين·discuss
Matt Levine has talked about how this is how PE firms work too. No Harvard MBA wants to work for a midsize manufacturing firm, but they’d kill to work for a PE firm that going to make them work for their PortCo that’s a midsize manufacturer (but they get to say they work for Apollo)