I am new to React-Native
and its states
, here I am stuck with a problem (using dummy data but my problem is same) all I want to achieve is get the latest JSONARRAY
fetched from the state
, based on button clicks when I click on button one it should only return [{"one":"oneKey"},{"key":"mutatedFruit"}]
and similar approach for other buttons as well any help is appreciated
I have attached my
↧
React Native states not updating value after changing value
↧