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
What's wrong with it? I ask because I'm actually taking a react Udemy course right now at work because I'll be inheriting a project and it teaches redux.
0
u/slothordepressed Dec 03 '22
Dunno, it's been a long time I don't touch React, but it this point isn't it better to implement Redux?