How to find out what Stack you are in in React Native using react-navigation whatever screen you are in in your react native project?
I am currently using React Native for the first time and I am trying to render a component in a particular screen depending on the parent stack I am in as the particular screen is reused across multiple stacks. Right…