react native debugger code example

Example 1: shadown reAct native

shadowColor: "#000",
            shadowOffset: {
              width: 0,
              height: 10,
            },
            shadowOpacity: 0.12,
            shadowRadius: 60,

Example 2: react native debugger

$ brew update && brew cask install react-native-debugger

Example 3: react native debugger

React-Native Standalone Debugger:
https://github.com/jhen0409/react-native-debugger/releases

Example 4: run react native with debugger breakpoint

let jsCode = `docuement.doPopUp() {
                        document.querySelector('#myBody').style.backgroundColor = 'red';
                        alert('hello world from webview');
                        }`;