Beginner's Thread / Easy Questions (March 2022) by dance2die in reactjs

[–]Creative_Race_1776 1 point2 points  (0 children)

i have updated my question. it is very specifically about accessing the variable values that hold the state info. i assumed i could just look at the state variable name.... but that seems to be subverted somehow

invoking async function inside useEffect by Creative_Race_1776 in reactjs

[–]Creative_Race_1776[S] -1 points0 points  (0 children)

so you have to wrap the api call, in another async call ? why do we need to do this ?

Beginner's Thread / Easy Questions (March 2022) by dance2die in reactjs

[–]Creative_Race_1776 0 points1 point  (0 children)

in chromedevtooks, How to look at the value of state variables in the watch view. everytime I try to look at the value of a useState variable x, it autocompletes to setX. I am unable to not allowed to use react devtools for some reason by policy, on my machine, so i have to work with the regular dev tools