DEV Community


Discussion on: useReducer instead of useState while calling APIs!

lizardkinglk profile image

Great post. Simple and Nice. Btw, I always check if async await call returned data and ready to render because sometimes it says 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