Posts by Adalton Junio • 51 points
4 posts
-
0
votes1
answer40
viewsA: history and preventDefault if undoing!
Event.preventDefault and history have no conflict between them, I noticed that you are using Reacthooks, to use the history.push({route}), you need to call his function as per the documentation:…
-
0
votes1
answer132
viewsA: How to view the "id" in Json (api)
Thiago, when you send the POST for your endpoint and it save in the database it will automatically generate a unique ID number for your record. To add the ID value of each field you must adjust the…
-
1
votes1
answer305
viewsA: Hide div on mobile
With Bootstrap 4.0 If using the framework Bootstrap to manage your grids, you have access to the Display classes Link documentation Boostrap display who are: d-Sm-None - to hide an element if the…
cssanswered Adalton Junio 51 -
1
votes1
answer50
viewsA: Reactjs props for others
You are using the library 'React-router-dom' that library already provides a function that does this all you want, is the function <Link to={path_da_rota}>Link</Link> follows the…