MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/zbmvpe/real_code/iyxgbcs/?context=3
r/badcode • u/demon_slayer_002 • Dec 03 '22
43 comments sorted by
View all comments
Show parent comment
1
I whipped up an event bus hook that lets components subscribe to and publish events. It's SO much cleaner and more straightforward than redux or useContext
View all comments
Show parent comment
1
u/Tsalikon Dec 04 '22
I whipped up an event bus hook that lets components subscribe to and publish events. It's SO much cleaner and more straightforward than redux or useContext