Workiva / react-dart

Dart Bindings for React JS
BSD 2-Clause "Simplified" License
412 stars 67 forks source link

Reduce DDC SyntheticEvent warning noise #293

Closed greglittlefield-wf closed 3 years ago

greglittlefield-wf commented 3 years ago

Motivation

As a workaround to https://github.com/dart-lang/sdk/issues/43939, our SyntheticEvent classes are non @anonymous.

A consequence of this is that, in the DDC, when event handlers are type-checked in certain situations, they emit console warnings every time.

These warnings can quickly become excessive when interacting with an app. Screen Shot 2020-12-16 at 4 44 15 PM

Solution

Boyscouting

Testing

sydneyjodon-wk commented 3 years ago

QA +1