We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920f9b1 commit 60aec37Copy full SHA for 60aec37
lib/src/react_client/dart_interop_statics.dart
@@ -28,6 +28,8 @@ final ReactDartInteropStatics dartInteropStatics = (() {
28
jsThis.setState(newObject());
29
}
30
31
+ // Use a LHS type to ensure this has the same exact static type
32
+ // (including arguments and return types) as initComponentInternal expects.
33
// ignore: omit_local_variable_types, prefer_function_declarations_over_variables
34
final RefMethod getRef = (name) {
35
final ref = getProperty(jsThis.refs, name);
0 commit comments