Skip to content

Instantly share code, notes, and snippets.

@mojaray2k
Last active March 2, 2024 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mojaray2k/87606b3f8a89a142d66dad6dac24e614 to your computer and use it in GitHub Desktop.
Save mojaray2k/87606b3f8a89a142d66dad6dac24e614 to your computer and use it in GitHub Desktop.
This is about the pitfalls of rest api’s
  1. Deciding on a url schema gets tough when we begin to have heavily nested relationships of data.

  2. When fetching heavily nested data wecan easily run into situations where we make to many http requests to get the data we need.

  3. We are vulnerable to overfetching data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment