Posts by Lúcio Carvalho • 21 points
3 posts
-
0
votes1
answer23
viewsA: Fill external website URL with typed data
Maybe the code below is what you’re trying to implement: <body> <form> <label for="dadopesquisado">Digite aqui:</label> <input type="text" id="dadopesquisado"…
-
0
votes2
answers97
viewsQ: React components that receive ownership of an object as content do not update, how to deal with it?
I basically have a state that is a complex object and several components that render only one property of it, as the application is kind of large I made this prototype to illustrate: //Component…
-
0
votes4
answers2497
viewsA: Merge two Javascript arrays
Another small solution that seems to work well in various scenarios: function arrayIntercale(arr1, arr2, arr3=[]) { if (arr1.length == 0) return arr3; arr3.push(arr1.shift()); if (arr2.length != 0)…
javascriptanswered Lúcio Carvalho 21