Skip to content

tejasgawali4/TheShopAppReactNative

Repository files navigation

The Shop App React Native

Shopping app using react native

Debugging With React Native



You can debug Redux in React Native apps with help of the React Native Debugger tool: https://github.com/jhen0409/react-native-debugger/blob/master/docs/redux-devtools-integration.md

  1. Make sure you got the React Native Debugger installed (https://github.com/jhen0409/react-native-debugger)

  2. Enable JS Debugging in the running app (open development overlay via CTRL + M / CMD + M on Android devices, CMD + D on iOS devices)

  3. Install the redux-devtools-extension package via npm install --save-dev redux-devtools-extension (https://www.npmjs.com/package/redux-devtools-extension)

  4. Enable Redux debugging in your code:

import { createStore, applyMiddleware } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension';

const store = createStore(reducer, composeWithDevTools()); Important: Make sure you remove this code when building your app for production!

About

Shopping app using react native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published