Skip to content

Commit a4a30a6

Browse files
Reinstate deprecation for transferComponentState
1 parent f973031 commit a4a30a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/react.dart

+1
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ abstract class Component {
307307
/// > This was never designed for public consumption, and there will be no replacement implementation in `Component2`.
308308
/// >
309309
/// > Will be removed when `Component` is removed in a future major release.
310+
@Deprecated('For internal use only.')
310311
void transferComponentState() {
311312
prevState = state;
312313
if (_nextState != null) {

0 commit comments

Comments
 (0)