Skip to content

Commit 3727c8f

Browse files
Deprecate a few more APIs to be removed in 7.0.0
1 parent 5bfdb8f commit 3727c8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/react_client/react_interop.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ class ReactClassConfig {
486486
/// Interop class for the data structure at `ReactElement._store`.
487487
///
488488
/// Used to validate variadic children before they get to [React.createElement].
489+
@Deprecated('For internal use only. Will be made private in 7.0.0.')
489490
@JS()
490491
@anonymous
491492
class ReactElementStore {
@@ -681,6 +682,7 @@ class ReactDartContextInternal {
681682
}
682683

683684
/// Creates a new JS Error object with the provided message.
685+
@Deprecated('For internal use only. Will be made private in 7.0.0.')
684686
@JS('Error')
685687
class JsError {
686688
external JsError(message);
@@ -706,6 +708,7 @@ external void throwErrorFromJS(error);
706708
/// as a variadic child.
707709
///
708710
/// Offloaded to the JS to avoid dart2js interceptor lookup.
711+
@Deprecated('For internal use only. Will be made private in 7.0.0.')
709712
@JS('_markChildValidated')
710713
external void markChildValidated(child);
711714

0 commit comments

Comments
 (0)