Passing aprop from a page to another in react native

You didn’t have to, that was just one option. But lifting up state is a very fundamental concept - you need to learn it.

i didnt explain well… passing props from child to child wasnt possible … and passing from parent will display /pass all item to both child…what i wanted was to pass different data in a form of array to different children (pages)

I’m sorry, but what you just said doesn’t make any sense to me. I think you are still shaky on some basic React concepts. I recommend reviewing how React passes props.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.