Posts by Raphael Kieling Tondin • 98 points
7 posts
-
-1
votes2
answers42
viewsA: useEffect returning null
async function loadTotals(){ setName(); // deve aguardar finalizar a requisição, tambem é possível utilizando o `.then` await handleTotals(); console.log(list); } useEffect(() => { loadTotals()…
-
3
votes1
answer33
viewsA: Repetition with Json in JS
From what I understand you want to take all the coins and go doing automatically without having to explain a moeda.ARS, I think that would solve your problem: const data = await…
-
1
votes1
answer27
viewsA: useEffect does not work when trying to transform Stateful component into Stateless
Your problem is placing the list as an object and not as an array. useEffect(() => { fetch(baseUrl) .then(resp => resp.json()) // aqui deve ser um array .then(data => setList(data)) }) This…
-
0
votes1
answer37
viewsA: JS - Div does not move around the screen
So, it was almost everything but lacked the main one, you realize that your function will rotate every time a key is pressed? If so, I may come to the conclusion that WHENEVER your function is…
-
-1
votes2
answers115
viewsA: Join two arrays if field is equal in both
He’s a boolean, so I’d settle: exams.map(item => { const finded = exam_score.find(({ exam_id })=> exam_id === item.id) return { ...item, exam_score: finded && finded.score } })…
-
0
votes1
answer35
viewsA: how do I create a button to increment one more
Your code should look like this: <body> <h1 style="text-align: center;">SENHA</h1> <h2 id="count" style="text-align: center;">0</h2> <div style="text-align:…
-
-1
votes1
answer48
viewsQ: Meteor problem with remote control for Android
AVD - Sim SDK - Sim Adb - Sim Meteor add-platform android - Sim They all worked on this command: Meteor run android the following error occurs: C:\Users\Raphael Kieling\Documents\Estudo -…