How can I log a variable in React Native, like using console.log when developing for web?
There is normally two scenarios where we need debugging.
When we facing issues related to data and we want to check our data and debugging related to data in that case
console.log('data::',data)
and debug js remotely is the best option.
Other case is the UI and styles related issues where we need to check styling of the component in that case react-dev-tools is the best option.
both of the methods mention here.