One group : A Freewrite

Argument of type '[string, { id: any; }]' is not assignable to pareter of type 'never'.ts()
You aren't passing navigate as a prop into the component but you are using it inside, why? And how?
its like a great grandchildren comp, so i was thinking if there is another way instead of passing props down like comp
Create a navigation file to handle navigation. It should take props… you can set the prop type to any
This is typescript everything has to be configured, you can't navigate where your navigation is not aware of, you would have to use the stack navigation props from where you setup stack navigation for the configuration
I don't use react navigation any more.. But I remember there is a hook for navigation even if it's not a file ned as a screen
i uismg stack navigation, i cant be passing navigation from home down to level comp
gave me rgument of type '[string, { id: any; }]' is not assignable to pareter of type 'never'.ts( in tsx
where are you importing it from?
yes because u didnt type the navigation
so since i using stack nagiation, i have like screen
🤦🏽♂️ you guys are misunderstanding, that hook would work fine as it is by default in normal js app not typescript
Yeah so I have to start passing it down the children if it has to work in typescript
useNavigation hook
It is type script so you need to type it
Or useNavigation();
I use any most times 🙃
new job requires it, do i have a choice
you can’t be doing jsx in this st century
One group wey i deg yesterday? people seriously dey argue against typescript oo😂, dey play
You no call men???
But omoooo, it's far beyond that 😂😂😂
i find you and diego i no see😂
i was alone in battle😂
if you work in tes, you would appreciate it like mad
Typescript is just like someone's short girlfriend, always prone to anger 😂😂😂.
Small thing, e don underline
I literally havent written plain js in years
I don rene many of my files from .tsx to .jsx, many times.