DEV Community

Discussion on: How To Use Axios in an Optimized and Scalable Way With React

Collapse
 
alexstaroselsky profile image
Alexander Staroselsky

What happens when you remove .then(response => response) from getRequest(URL). Does it change how const user = await getRequest('users'); works at all?

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