Everything looked good during development but when i tried to push app in real device or emulator it kept giving "error while updating property d in shadow node of type RNSVGPath " which was very confusing.
While using node fetch , i encounted this issues where is was getting this strange error 'Uncaught (in promise) TypeError: Cannot read property 'setState' of undefined'.
The list of common react native issues and the solutions which worked for me out of all the results in the internet.
Writing clean OOP style code can be tricky sometimes. I have shared my code below. I was just playing with codes and tried to refactor my code to improve it.