have you created that user state with empty obj *_const [user, setUser] = useState({})_* like this
@humayunsheikh563 жыл бұрын
@@fsniraj yes , but thanks I solved my problem (I don't create NoteScreen Props user={user} in App.js)
@fsniraj3 жыл бұрын
@@humayunsheikh56 ok
@sidneymorais Жыл бұрын
Hello Niraj, greetings from Brazil. I'm a new student, and you video is so very good! thank you so much. But, I have an issue... i'm stuck when putting flex style:1 my whole android emulator screen turns white. Just in 14:09 from video.
@fsniraj Жыл бұрын
If you apply flex: 1, then it will take the entire width and height so make sure you are using this property to the correct container.
@sidneymorais Жыл бұрын
@@fsniraj Very Very thank youu. Yesterday I spend a Lot of time, so I understood I put one more "View" where I shouldnt put. Now, I notice that all container style is copying the other containers style. For an example, in the 1:20 vídeo, my "add note" is not disapearing when I create a note. When I change the name of style It vanish. Ill keep working on it
@legendtri55572 жыл бұрын
OMG l love this guy
@lingarajsahoo35833 жыл бұрын
sahi he boss
@apro0023 жыл бұрын
in bare react-native how do i pass props to NoteScreen?
@apro0023 жыл бұрын
through navigation.navigate('Note', { data })??
@fsniraj3 жыл бұрын
passing data through navigation is not a feature of bear react native it's a feature of navigation itself.
@apro0023 жыл бұрын
@@fsniraj okay so is there any other way of doing this?
@fsniraj3 жыл бұрын
I don't think so but you can check out the documentation of React Navigation.