-1
I’m starting with ReactJS
and I decided to separate some parts into components, a <botao />
and a field to write.
The application you are creating is simple, is a field to write with two buttons to change the text in lower or upper case.
The code in which it is working, it stopped working when resolve to separate into a component, imagine that there is some logic error, but can not find a solution.
This is the error that is appearing.
App.js
Botao.js
Campo.js
this.state.message
is not part of the button ... !– novic