Skip to content

Commit

Permalink
remove the line termination change
Browse files Browse the repository at this point in the history
  • Loading branch information
kealjones-wk committed Aug 10, 2023
1 parent e43030d commit 5b1de45
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/new_boilerplate_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ class _$FooProps extends BarProps {
}
// Generated in .over_react.g.dart
class FooProps extends _$FooProps with _$FooPropsAccessorsMixin {
class FooProps extends _$FooProps with _$FooPropsAccessorsMixin {
static const PropsMeta meta = ...;
...
...
}
```

Expand Down Expand Up @@ -81,9 +81,9 @@ class FooProps
with
// ignore: mixin_of_non_class, undefined_class
_$FooPropsAccessorsMixin {
// ignore: const_initialized_with_non_constant_value, undefined_class, undefined_identifier
// ignore: const_initialized_with_non_constant_value, undefined_class, undefined_identifier
static const PropsMeta meta = _$metaForPanelTitleProps;
}
}
```

This is overly verbose, confusing, and error-prone. Authoring components should be
Expand Down Expand Up @@ -907,7 +907,7 @@ UiFactory<UiProps> Foo = uiFunction(
);
```

#### With propTypes (~Coming soon!~ lol no its not)
#### With propTypes (Coming soon!)

```dart
UiFactory<FooProps> Foo = uiFunction(
Expand Down

0 comments on commit 5b1de45

Please sign in to comment.