Skip to content

lvthong312/react-native-fast-debugger

react-native-fast-debugger

npm version npm downloads react-native

Support for debugger: 🚀 Easy plug & play with axios

📡 Logs all requests & responses

🎨 Optional theming

🧹 Auto-clears old logs (with maxRequests)

Installation

npm install react-native-fast-debugger

Usage

  1. Create an axios instance
import React from "react";
import { StyleSheet, Text } from "react-native";
import { NetworkLoggerProvider } from "react-native-fast-debugger";
import axios from "axios";

const axiosInstance = axios.create({});

export default function App() {
  return (
    <NetworkLoggerProvider axiosInstance={axiosInstance}>
      <Text>Result</Text>
    </NetworkLoggerProvider>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: "center",
    justifyContent: "center",
  },
});

About

Support for Debugger

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors