Skip to content

Deps (libs)

LeoTM edited this page Dec 14, 2022 · 34 revisions

Which?

Life is a matter of choices, and every choice you make makes you

  • RN SDK available?
  • features (any feature-blocking issues?)
  • maintained? last updated
  • reactnative.directory? recommended / quality
  • popularity: stars / downloads / forks / contributors
  • new arch? fabric / turbomodules, hermes compat
  • lib ecosystem synergy
  • customisation / extendibility
  • perf / size
  • sponsors? opencollective / businesses
  • dev experience?
    • docs (quality)
    • replies: issues / discussions
    • example/template? last updated / RN ver
  • dependabot
  • false positives from build tools annoying

Update tool

Resolutions

package.json

  "resolutions": {
    "immer": "1.2.3",
    "node-fetch": "^1.2.3"
  }
  • visible
  • many to one

Yarn selective (yarn.lock)

yarn why <dep>
yarn set resolution immer@npm:^1.10.0 <resolution>
  • strict 1 to 1
  • hidden from package.json

Visualise a lib

https://npm.anvaka.com

Clone this wiki locally