Können wir den Staat außerhalb der Klasse deklarieren?
State is can be declare only in class if u want to declare in functional component use method useState();
State is can be declare only in class if u want to declare in functional component use method useState();