The term vanilla script is used to refer to the pure JavaScript (or we can say plain JavaScript) without any type of additional library . Sometimes people often used it as a joke”nowadays several things can also be done without using any additional JavaScript libraries”.
Read moreWhat is state in a class in JavaScript?
The state object is where you store property values that belongs to the component . When the state object changes, the component re-renders.
Read more