APIs

  • APIs are the main contact point between your component and the world
  • If the API produces the right output for any input, your component probably works
  • If the API doesn't change, you can update your component freely
  • It is important to pick a narrow API

4 / 10