How to disable button after one click in react native?
Hello Friends 👋, Welcome to Infinitbility. When we are calling servers and any third-party API’s then we have to make sure users will not press multiple times’ buttons and that’s some people show loader and some disabled-buttons. Today, we will see how we can disable a button when anyone presses a button. Basically, we are going to create a state and we will disable it when clicking on a button plus we also condition a button if the state isDisabled is true we will disable a button....