Kureev / Kureev/react-native-navbar
Cannot read property 'displayName' of undefined
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting this error when I try to run the vanilla example in my own app
``` jsx
import NavigationBar from 'react-native-navbar'
...
render () {
const rightButtonConfig = {
title: 'Next',
handler: () => {
alert('hello!')
}
}
const titleConfig = {
title: 'Hello, world',
}
return (
Dashboard Screen
)
}
```

Has anyone seen this before?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the error from the vanilla example using the shown NavigationBar import and render configuration. Trace where the undefined value is accessed during rendering, then verify the issue's cause and confirm that the example runs without the displayName error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100