News for hackers. Stuff that matters.
Re:React v16.6.0: lazy, memo and contextType by pcmaffey on Tuesday October 23, 2018 @09:04PM (#18288852)
The other angle to solving this problem would be adding lifecycle methods to React.Context (instead of using render props), which could eliminate the need for multiple contexts. Making Consumer contexts more efficient & composable.
Re:React v16.6.0: lazy, memo and contextType by danabramov on Tuesday October 23, 2018 @09:10PM (#18288883)
We've thought about a spectrum of solutions and plan to present more proposals soon.