Skip to content

Commit

Permalink
Reinstate deprecation for transferComponentState
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed Oct 3, 2023
1 parent f973031 commit a4a30a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/react.dart
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ abstract class Component {
/// > This was never designed for public consumption, and there will be no replacement implementation in `Component2`.
/// >
/// > Will be removed when `Component` is removed in a future major release.
@Deprecated('For internal use only.')
void transferComponentState() {
prevState = state;
if (_nextState != null) {
Expand Down

0 comments on commit a4a30a6

Please sign in to comment.