Posts by Ivanilson Sousa • 9 points
4 posts
-
-2
votes1
answer92
viewsQ: Eslint problem in Reactjs with useEffect, in this case how do I not need to put the // Eslint-disable-line
Well, folks, I have a function that allows for some variables within it. However, it should only be executed when a dependency specific to it is changed. in the case of index useEffect(() => {…
-
1
votes1
answer52
viewsQ: What event says that a radio button has been deselected within a radio input group?
Knowing when a certain input within the group of radio inputs has been de-selected. $('[name="teste"]').on('change', (e) => console.log(e)) <script…
-
0
votes1
answer184
viewsA: How to handle Node error response in React
Tried to give a console.log(res) in any return to the inves of res.responseText to see if any content is coming. In case something is coming look inside res data.. It usually comes inside him.…
-
0
votes1
answer580
viewsQ: How to make a button type "button" perform a javascript function instead of performing Submit
I have more than one Button inside the form. And I need one of them to perform a javascript function while the other performs Submit. But it turns out the two of them are performing Ubmit, and I…