News for hackers. Stuff that matters.
Re:A guide to useEffect in React by root_axis on Monday March 11, 2019 @08:59AM (#19358595)
IMO React state managers are an anti-pattern; they were somwhat useful before the final context api was introduced, but even back then simply passing down props is almost always the better choice, even when you're passing down multiple levels.
Re:A guide to useEffect in React by revskill on Wednesday March 13, 2019 @02:16AM (#19376188)
With Typescript, it's a non-issue to pass the props down to the tree.