3 ms·
I agree with all the overengineered stuff argument, but this is not as easy as you describe except for the simplest of the use cases. For example, you might ha
by midrus 5y ago
I agree with all the overengineered stuff argument, but this is not as easy as you describe except for the simplest of the use cases.
For example, you might have on screen a component (something inside a modal for example) that might need some data (a newly created record maybe) which is some information that has been dispatched in the past, so either you have to foresee and pre registered every single listener on beforehand or you have to keep track of all the events or the data that was emitted with them. At that point you've invented a new state management solution.