Settings

Theme

Why React Query?

ui.dev

9 points by tannerlinsley 2 years ago · 2 comments

Reader

ab248 2 years ago

Do 1/6 of all React apps really use React Query? Where did that number come from?

  • acemarke 2 years ago

    Depending on how you slice the numbers, it seems plausible.

    If you look at https://npm-stat.com/charts.html?package=react&package=react... :

    - The older `react-query` package is 1.6M DL/w, the newer `@tanstack/react-query` is 3M

    - React is ~22M

    So accounting for hand-wave-y rounding and/or adding old and new versions together, that's a reasonable simplification.

    For comparison, React-Redux is at 6.8M DL/w, which is how I've generally been measuring percentage of React apps that use Redux (which once upon a time was around 60%, and now is at about 30%).

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection