Closed markkovari closed 2 months ago
We can create a folder called api in frontend and export all required data fetching logic from there . We should stick with axios as it is easier to implement and more efficient i guess
can you assign this work to me ?
Hey @deepanshu2711 appreciate your reaction and proposal, although this is a class group assignment and have to decline your offer. Have a good day and keep up being proactive
We use axios generally.
We are using
fetch
andaxios
in different pages/components. This might lead to inconvenient inconsistencies, we should pick one and stick with it.And by the way if we create an "api" which is one module (place) with the requests, it will be easier to change/replace later.