3 ms·
Why React Query?
- ab248 2y agoDo 1/6 of all React apps really use React Query? Where did that number come from?
- acemarke 2y agoDepending on how you slice the numbers, it seems plausible. If you look at https://npm-stat.com/charts.html?package=react&package=react-dom&package=react-query&package=%40tanstack%2Freact-query&package=react-redux&from=2024-01-01&to=2024-05-08 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%).