Hacker News new | ask | show | jobs
by johtso 1174 days ago
I'd say pull that logic out of your components and put it in some central place like an XState machine exposed to your components through Context.