Prevent React Native remount of component on context value change
In a chat app I am building I want to deduct credits from a user's account, whenever the users sends a message and when a chat is initiated. The user account is accessible in the app as a context and…