> The overhead of adding an dependency is no longer worth it.
Wait until you start seeing components that depends on various trivial libraries (hook functions) for state management. My bet is on setInterval to be a very common one.
Wait until you start seeing components that depends on various trivial libraries (hook functions) for state management. My bet is on setInterval to be a very common one.
1:https://overreacted.io/making-setinterval-declarative-with-r...