Ah yes, that can get tricky. I tend to use Redux (or something else) for that - but yeah, it can be frustrating when tutorials are out of date (libraries move so fast!)
I would actually probably suggest using Context to start - it's built in to react now, and there isn't as much learning curve as redux (learning redux can be really tricky!).
So yeah, I would look into using context to share data across an app.
If you're just talking about launching a new react native screen with props though - then that can be accomplished with react navigation. It sounds like that's what you're having trouble with, but it also may just be worth it for you to get that working first (since you don't have to use anything else to get that working).
Ah yes, that can get tricky. I tend to use Redux (or something else) for that - but yeah, it can be frustrating when tutorials are out of date (libraries move so fast!)
Exactly. I've stopped learning it for a week now because I don't know what to do. So u said redux will solve my props problem right ?
I would actually probably suggest using Context to start - it's built in to react now, and there isn't as much learning curve as redux (learning redux can be really tricky!).
So yeah, I would look into using context to share data across an app.
If you're just talking about launching a new react native screen with props though - then that can be accomplished with react navigation. It sounds like that's what you're having trouble with, but it also may just be worth it for you to get that working first (since you don't have to use anything else to get that working).
Okay Chris thank you so much for your time and help. I'll check that out asap 😎
I would also suggest looking into the Context API + Hooks
useContext()
.Really straight forward to get started.
Okay Bernard thanks for your contribution