Hacker News new | ask | show | jobs
by andrewstuart 1551 days ago
OK so criticisms heard.

What is a solution?

2 comments

Read docs, implement linters. It doesn't take much time to learn the dependencies and nuances of useEffect (a single afternoon of reading the docs).

Otherwise, you can always still use Redux/Rematch or class components (they're still there) or any other state management solution and just pass in props.

My personal solution is to not just nest them or over complicate them too much.

If they stop being expressive, I will just start using class components again.

Aka a mixture of them in my code bases.