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
We have inconsistencies in the return values of various handlers. Some return the event, some a value, some synthetic objects fo multiple values. These are historically grown, and in some cases just forwarded from what a third party lib returns. We should assess the current situation, decide whether there is a single approach we want to follow, or if (and why and in what cases) we allow inconsistencies. We should aim at being predictable and practical for our users.
In order to address the problem, we should do the following:
Collect and document the current return values of all components that accept handlers
Assess the collection and come up with a recommendation how to harmonise these
Implement harmonised event handler return values
The text was updated successfully, but these errors were encountered:
franzheidl
changed the title
We have inconsistencies in the return values of various handlers. Some return the event, some a value, some synthetic objects fo multiple values. These are historically grown, and in some cases just forwarded from what a third party lib returns. We should assess the current situation, decide whether there is a single approach we want to follow, or if (and why and in what cases) we allow incosnistencies. We should aim at being predictable asnd practical for our users.
Harmonise event handler return values
Jan 16, 2025
franzheidl
changed the title
Harmonise event handler return values
[TASK](ui): Harmonise event handler return values
Jan 16, 2025
We have inconsistencies in the return values of various handlers. Some return the event, some a value, some synthetic objects fo multiple values. These are historically grown, and in some cases just forwarded from what a third party lib returns. We should assess the current situation, decide whether there is a single approach we want to follow, or if (and why and in what cases) we allow inconsistencies. We should aim at being predictable and practical for our users.
In order to address the problem, we should do the following:
The text was updated successfully, but these errors were encountered: