Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Key advantages in Docs #780

Open
bmaclean opened this issue May 9, 2019 · 2 comments
Open

Key advantages in Docs #780

bmaclean opened this issue May 9, 2019 · 2 comments

Comments

@bmaclean
Copy link

bmaclean commented May 9, 2019

Under the "key advantages" section of the docs, is the point:

They help prevent abuse of the setState() API, favoring props instead.

still relevant, given that modern functional components could abuse the useState API? Just came across this and was wondering if it was outdated.

@wuct
Copy link
Contributor

wuct commented May 10, 2019

Indeed, some parts of Recompose’s advantages can be replaced by React hooks.

@wuct
Copy link
Contributor

wuct commented May 10, 2019

Considering state management, hooks are simpler (and faster?).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants