You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As quoted from Nicholas' #312, "The code was written in 2016-2017 which makes it ancient by front end standards. Back then the standard way to add functionality to components was Higher Order Components. These days it's hooks and tbh they compose way nicer and work way better with TypeScript. I'd recommend moving off HOCs, especially since libraries are probably deprecating them."
TL;DR we need to migrate away from HOCs and to hooks.
The text was updated successfully, but these errors were encountered:
As quoted from Nicholas' #312, "The code was written in 2016-2017 which makes it ancient by front end standards. Back then the standard way to add functionality to components was Higher Order Components. These days it's hooks and tbh they compose way nicer and work way better with TypeScript. I'd recommend moving off HOCs, especially since libraries are probably deprecating them."
TL;DR we need to migrate away from HOCs and to hooks.
The text was updated successfully, but these errors were encountered: