π Introducing @modhamanish/rn-network-logger β A Zero-Config Network Inspector for React Native & Expo!
Tired of setting up complex proxies, debugging certificates, or opening heavy desktop apps just to inspect network requests in React Native?
I built a lightweight, plug-and-play network inspector that makes debugging API traffic completely effortless.
π Key Features:
- β‘ Zero Config: Just import it at the root of your app, and it automatically intercepts all global
fetchandXMLHttpRequestrequests. - π₯οΈ Web Dashboard: Inspect, search, filter, and copy requests (including Copy as cURL) directly from a beautiful dark-themed web dashboard in any browser at
http://localhost:19796. - π CLI Auto-Start: The local server automatically boots up in the background when you run
yarn start,yarn ios, oryarn androidβ no manual server management required. - π¦ Axios Interceptors: Built-in hooks for Axios with smart deduplication to prevent double-logging.
- π‘οΈ Production-Safe: Automatically disabled in production (
__DEV__guard) for zero overhead. - π Expo Friendly: Fully compatible with Expo projects (simply run
npx rn-network-loggeror link it in your start scripts).
Check out the code, install it in your project, and let me know your feedback! Let's make React Native debugging cleaner and faster.
π GitHub: https://github.com/modhamanish/rn-network-logger
π¦ NPM: https://www.npmjs.com/package/@modhamanish/rn-network-logger
Top comments (1)
Your article is very good...
I'm glad to meet you.
can we discuss about that in more detail?
telegram: venus0427