You didn’t indicate what problem you are having… but assuming you’re just wondering why your code isn’t passing, check the variable name in your state and see if it matches what they told you to make it.
compiler is showing me error like this ----> The state of
StatefulComponent
should be initialized with a property
firstName
set to a string. The property
firstName
in the state of
StatefulComponent
should render in the
h1
element.
and I worked and edit y code as according to compiler error which it was showing to me but after that it was also not working , can you please try in your directory and help me to find the solution