How can you access the state of a component from inside of a member function?
a. this.getstate()
b. this.prototype.statevalue
c. this.state
d. this.state
Answers
Answered by
1
Answer:
How can you access the state of a component inside a member function? Using this. state. The state is a data structure that starts with a default value when a Component mounts.
Similar questions
Environmental Sciences,
1 month ago
English,
1 month ago
Environmental Sciences,
1 month ago
Math,
3 months ago
Math,
3 months ago
India Languages,
10 months ago