DEV Community

loading...

Discussion on: useReducer instead of useState while calling APIs!

Collapse
lizardkinglk profile image
lizardkingLK

Great post. Simple and Nice. Btw, I always check if async await call returned data and ready to render because sometimes it says UserDetails.map is not a function. This way very helpful.

Some comments have been hidden by the post's author - find out more

Forem Open with the Forem app