Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion of HOCs to hooks #333

Open
AndySok opened this issue Apr 22, 2021 · 0 comments
Open

Conversion of HOCs to hooks #333

AndySok opened this issue Apr 22, 2021 · 0 comments
Labels
big project Try your best! So long as you work on this you're good

Comments

@AndySok
Copy link
Contributor

AndySok commented Apr 22, 2021

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.

@AndySok AndySok added the big project Try your best! So long as you work on this you're good label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big project Try your best! So long as you work on this you're good
Projects
None yet
Development

No branches or pull requests

1 participant