Posts by Paulo Henrique • 1 point
1 post
-
-2
votes1
answer26
viewsQ: How to render an asynchronous function in reactJS?
My problem is this: I have an asynchronous function that makes a mysql request and, depending on the result of the request, returns a different DIV. const GetData = async(idAluno,disciplina) => {…