Skip to content

Deps (libs)

LeoTM edited this page Feb 4, 2026 · 57 revisions

Which?

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

  • features (any feature-blocking issues?)
  • RN SDK available? (devX)
  • perf: optimised? multithreaded? nightly tests against RN?
  • maintained? (last updated? orphaned?)
  • reactnative.directory: recommended / quality
  • popularity: stars / downloads / forks / contributors
  • new arch? nitromodules?
  • lib ecosystem synergy
  • customisation / extendibility
  • devX?
    • docs: quality? issues? discussions?
    • up-to-date example?
  • sponsors? opencollective / businesses

Resolutions

package.json

  "resolutions": {
    "immer": "1.2.3",
    "node-fetch": "^1.2.3"
  }
  • visible
  • many to one
  • Yarn v1 (classic)

Yarn selective (yarn.lock)

yarn why <dep>
yarn set resolution immer@npm:^1.10.0 <resolution>
  • strict 1 to 1
  • lost if you delete/regen lockfile (e.g. renovate lockfile maintenance)
  • Yarn v2+ (berry)

Visualise dependencies

Patches

Yarn v2+ (berry)

yarn patch <lib> stored in .yarn/patches

Clone this wiki locally