Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Dealing with Dependencies in JavaScript

Dealing with Dependencies in JavaScript

Lightning talk given at Beer.js Summit 2022

7a0e72a6f55811246bb5d9a946fd2e49?s=128

Radoslav Stankov

July 27, 2022
Tweet

More Decks by Radoslav Stankov

Other Decks in Technology

Transcript

  1. Dealing with Dependancies (in JavaScript) Radoslav Stankov 01/08/2019

  2. https://rstankov.com/appearances

  3. ...imagine starting a new project 🤩

  4. None
  5. None
  6. None
  7. None
  8. None
  9. 😴 JavaScript Fatigue

  10. None
  11. None
  12. None
  13. None
  14. What framework to use? How to manage state? How to

    fetch data? Which router to use? Which calendar component to use? Which chart component to use?
 ... 🤔
  15. Dependency types

  16. Medium easy 
 to change Big Medium Small Medium Small

    Small Small Small Small hard to change simple complex * totally unscienti fi c chart 👨🔬
  17. Medium easy 
 to change Big Medium Small Medium Small

    Small Small Small Small hard to change simple complex * totally unscienti fi c chart 👨🔬
  18. What framework to use? How to manage state? How to

    fetch data? Which router to use? Which calendar component to use? Which chart component to use?
 ... 🤔
  19. What framework to use? How to manage state? How to

    fetch data? Which router to use? Which calendar component to use? Which chart component to use?
 ... 🤔
  20. What ecosystem to choose? How to manage state? How to

    fetch data? Which router to use? Which calendar component use? Which chart component use?
 ... 🤔
  21. What ecosystem to choose? How to manage state? How to

    fetch data? Which router to use? Which calendar component use? Which chart component use?
 ... 🤔
  22. None
  23. History of JS Ecosystem 2005 2022 2013 2010 2006

  24. None
  25. What ecosystem to choose? How to manage state? How to

    fetch data? Which router to use? Which calendar component use? Which chart component use?
 ... 🤔
  26. What ecosystem to choose? How to manage state? How to

    fetch data? Which router to use? Which calendar component use? Which chart component use?
 ... 🤔
  27. Medium easy 
 to change Big Medium Small Medium Small

    Small Small Small Small hard to change simple complex * totally unscienti fi c chart 👨🔬
  28. None
  29. History of React Ecosystem 2013 2022 2014 2015 2016 Concepts

    Libraries Frameworks
  30. None
  31. None
  32. What ecosystem to choose? How to manage state? How to

    fetch data? Which router to use? Which calendar component use? Which chart component use?
 ... 🤔
  33. Medium easy 
 to change Big Medium Small Medium Small

    Small Small Small Small hard to change simple complex * totally unscienti fi c chart 👨🔬
  34. Picking Dependencies

  35. ⏹ Do we really need it? ⏹ Can something we

    already have do the task we are searching for? ⏹ Can we implement this ourselves? ⏹ Is this properly maintained? ⏹ Is it well documented? ⏹ When was the last version? ⏹ When was the last commit? ⏹ How often does it get a new version? ⏹ Does it have CHANGELOG? ⏹ Were there breaking changes recently? ⏹ Does it have security issues past or present? ⏹ How many dependencies does it come from? ⏹ What the dependency size? ⏹ What is its license? ⏹ Do you use this in any other project? 📋 Checklist
  36. https://www.npmjs.com/package/lodash

  37. https://www.npmjs.com/package/lodash

  38. None
  39. None
  40. None
  41. Thanks 😎

  42. https://rstankov.com/appearances