Re:Common mistakes writing React components with hooks
by robjan on Tuesday July 21, 2020 @12:38PM
(#23908329)
Redux is global state. Adding all local state to a global store will result in a complete mess for any non-trivial app.
[ Parent
| on HN ]
Re:Common mistakes writing React components with hooks
by pg_bot on Tuesday July 21, 2020 @12:50PM
(#23908458)
Maybe if you're writing it ;)
Most of the time it mirrors the structure of a file system which is the exact way (almost) every program is written.
As with most software projects, keeping organized is like 80% of the battle.