futurice / futurice/pepperoni-app-kit
Navigation Header Title Update from View
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 631
- PR merge metrics
- No merged PRs in 30d
Description
I have a profile view that is loaded when selecting the profile tab. I'm not doing a push route so I can't send the title of the current users username that way.
How would I go about updating the navigation header title from the profile view?
I was trying to create a redux action so I can send the new title, but not sure how to actually update the navigation state in the reducer.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the profile view and trace how the navigation state and header title are configured for the profile tab. Determine how the username should reach the navigation state without a push route; done means the navigation header displays the current user's username when the profile view is selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native, redux
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100