DEV Community

Discussion on: Run Function after useEffect to Manipulate Data?

Collapse
mitchelln11 profile image
mitchelln11 Author

So the following doesn't return anything?

return {temperature};

Also, how do you pass info to the props from 1 component to another after the initial fetch/axios call?