Posts by Leonardo Lira • 36 points
1 post
-
2
votes1
answer94
viewsA: Example input take value and log console with this value when you click send button with React
Tag <input /> must have the refs attribute and also create a button to trigger a function. Example <input type='text' ref='nome' /> <button onClick={() => this.handleClick…