Path To A Clean(er) React Architecture - API Layer & Fetch Functions
Vložit
- čas přidán 4. 06. 2024
- Step 2 in the architecture cleanup: Extract fetch functions to a shared API layer to hide implementation details like
- request method
- response type definitions
- endpoint paths or
- handling of URL parameters
from the UI code and simplify the components.
Blog post: [profy.dev/article/react-archi...](profy.dev/article/react-archi...)
This is awesome. The frontend community needs more resources like this. Subscribed +1
Thank you.
Thanks for the feedback. I feel the same way. This stuff is very common on the backend but not on the frontend for some reason.
Really good content!
Straight to the problem, no bs, thanks a lot for the video dude!!!
Really good video, condensed, good example, love it!
Thanks, clean tutorial.
Good vid can u do an implementation of tanstack react query
Thanks for the feedback. I’ll add react query to the project in a future video