property. This is the DOM element that represents the component. Most
constructors will also take some other values that won’t change over time, such
as the function they can use to dispatch an action.
Each component has a
syncState
method that is used to synchronize it to
a new state value. The method takes one argument, the state, which is of the
same type as the first argument to its constructor.
Do'stlaringiz bilan baham: