React Native Basics Part 5 - Debugging React Native Applications (Nepali)
React Bits (Damodar Lohani)
Additional Code:
Put below code in the App.js class
constructor() { super(); this.state = { descriptionVisible: false, hello: "Hello world" } }
componentWillMount() { console.log("descriptionVisible: ", this.state.descriptionVisible); debugger; console.log("Hello: ", this.state.hello); console.log('component will mount'); }
Google Chrome address: http://localhost:8081/debugger-ui
React native debugger: https://github.com/jhen0409/react-native-debugger/releases
Contact Me Damodar Lohani https://fb.me/lohanidamodar https://twitter.com/lohanidamodar https://github.com/lohanidamodar ... https://www.youtube.com/watch?v=wGv6RWB-bMs
2020-05-30
0.0 LBC
Copyrighted (contact publisher)
20771851 Bytes