recompose icon indicating copy to clipboard operation
recompose copied to clipboard

Key advantages in Docs

Open bmaclean opened this issue 5 years ago • 2 comments

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.

bmaclean avatar May 09 '19 19:05 bmaclean

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

wuct avatar May 10 '19 02:05 wuct

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

wuct avatar May 10 '19 02:05 wuct