Posts by danielhcr22 • 15 points
2 posts
-
1
votes1
answer67
viewsQ: Doubt about the reduce method in Javascript
I took this small code from a material from the internet to print how many times a number repeats in the array, but I could not understand what was done, especially with this if and with the…
-
-3
votes1
answer240
viewsQ: Use component when clicking on jsx button
I’m trying to render the component Feed within that Main in jsx, but I’m not getting it. Follows the code: function Feed(props){ return( <main className='post'> <p…