Posts by Eric Santana • 56 points
3 posts
-
2
votes2
answers45
viewsA: Javascript: Array usage problem coming from php
You are working with asynchronous functions, on account of that you should do all function treatment using promise or async await. The alert(retorno[0]) will not work because it is a synchronous…
-
0
votes3
answers431
viewsA: What is the difference between float and float[]?
The float is a primitive type of a number with decimals, for example: 1.6 (1.6 in BR). The float[] is a set of variables (one-dimensional array) of float type, ie several numbers with decimals in a…
-
2
votes1
answer871
viewsA: How to use the "parent" component function in the React child
The most typical way is to pass through the props, but be careful not to invoke the function instead of passing it. Another issue you should be aware of is the context. Because of this I recommend…
reactanswered Eric Santana 56