Workiva / react-dart

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

CPLAT-7571 Remove on Keyword #215

Closed joebingham-wk closed 4 years ago

joebingham-wk commented 4 years ago

Motivation

TypedSnapshot uses the on keyword to enforce that the mixin is only used with children of Component2. However, because PropTypes is implemented in UiComponent2, TypedSnapshot does not mix with UiComponent2 well. This is related to https://github.com/dart-lang/sdk/issues/38098.

Changes

@aaronlademann-wf @greglittlefield-wf @kealjones-wk @sydneyjodon-wk

greglittlefield-wf commented 4 years ago

+10