Component<P extends Map, S extends BaseState>.replaceContext constructor

Component<P extends Map, S extends BaseState>.replaceContext(
  1. BaseContext<P> context
)

Implementation

Component.replaceContext(this.context) {
  this.context = context;
  isContainer = true;
  this.node = VNode(this.context, this);
}