Hacker News new | ask | show | jobs
by ab248 767 days ago
Do 1/6 of all React apps really use React Query? Where did that number come from?
1 comments

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%).