News for hackers. Stuff that matters.
Re:Build Your Own React by thatswrong0 on Thursday November 14, 2019 @06:56PM (#21540916)
Now that hooks exist, this should definitely be the case. Before, HoCs / components with render prop functions were actually useful for doing some additional not-directly-render related work.
Re:Build Your Own React by allover on Friday November 15, 2019 @06:40AM (#21544070)
You can now use hooks for some things you might previously want a component for, e.g. useFetch instead of <Fetch />, but don't agree "this should definitely be the case". Dogma is never good.