Better HN
topnewbestaskshowjobs
Log inSign up

peddap

10 karma · joined Aug 15, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

Only if you're working on super simple projects. Or don't want reusable code.

How do you share data fetching logic across components

How do you share a common UI functionality like toggling states, starting timers, across components?

People are now more concerned about clearly writing business logic while stiching together React lifecycles methods, instead of the other way.