Path To A Clean(er) React Architecture - API Layer & Fetch Functions

Sdílet
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...)

Komentáře • 8

  • @user-zo2ky4mz7d
    @user-zo2ky4mz7d Před 13 dny

    This is awesome. The frontend community needs more resources like this. Subscribed +1
    Thank you.

    • @profydev
      @profydev  Před 13 dny

      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.

  • @VerconyGMS
    @VerconyGMS Před 22 hodinami

    Really good content!

  • @vdac3103
    @vdac3103 Před měsícem

    Straight to the problem, no bs, thanks a lot for the video dude!!!

  • @alexmorgun851
    @alexmorgun851 Před měsícem

    Really good video, condensed, good example, love it!

  • @cariyaputta
    @cariyaputta Před měsícem

    Thanks, clean tutorial.

  • @codingsense
    @codingsense Před 17 dny

    Good vid can u do an implementation of tanstack react query

    • @profydev
      @profydev  Před 16 dny

      Thanks for the feedback. I’ll add react query to the project in a future video