Posts by Guilherme Lemmi • 121 points
3 posts
-
0
votes1
answer51
viewsA: How to treat values that comes in this.props in React
Inside your Light component, Voce can use the classname attribute to add the desired class, as below: const Luz = (props) => { return ( <div className="compLuz {props.color}"> ...…
-
1
votes2
answers12789
viewsA: Change GIT password in Windows
Maybe your password is saved in the windows credential manager. To confirm, check in the file .gitconfig in C:/Users/SeuUsuario/, Credential option appears as: [credential] helper = wincred If so,…
-
1
votes3
answers6815
viewsA: Eslint captured an error, Parsing error: Unexpected token =
Probably the question code is located within a class as a "Static Property", as below: class Something { updateDay = () => { const date = new Date(); this.setState({ currentDate: date.getDate(),…