Posts by Gabriel Barbosa • 3 points
2 posts
-
0
votes2
answers56
viewsA: How to pass a specific object as props in a generation of components?
While trying to solve the problem I realized that the map was trying to catch an object that did not yet exist, for this, I tried to make it catch before, using var === ? : (ternary operator) so he…
-
0
votes2
answers56
viewsQ: How to pass a specific object as props in a generation of components?
Hello, I’m initiating the studies in React and when trying to create a code that generates components (in this case the "Box")where at the click of a button passing objects coming from a state to a…