3 ms·
Have you looked into using a fetch event hook? The first thing I thought of was an Axios interceptor if you're using Axios or other http lib. That should allow
by slow_donkey 8y ago
Have you looked into using a fetch event hook? The first thing I thought of was an Axios interceptor if you're using Axios or other http lib.
That should allow you to sum up download sizes.
- wbercx 8y agoThanks for this! I've recently been asked how much data our React Native app uses. I totally hadn't thought of using Axios' interceptors to track this. So obvious!