You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently events are just strings and their properties are passed as additional parameters to dispatch. This can lead to hard and unmaintainable code.
We should change it to objects with type property, so they could be generated with function. Functions presence and identity can be statically checked with linters.
Currently events are just strings and their properties are passed as additional parameters to dispatch. This can lead to hard and unmaintainable code.
We should change it to objects with type property, so they could be generated with function. Functions presence and identity can be statically checked with linters.
Old (bad):
New (good):
The text was updated successfully, but these errors were encountered: