Tabs Route creates a new view in the hierarchy every time

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react-native
Domain
mobile

Research direction

Start by reproducing the behavior in TabsRoute by switching between tabs with and inspect how the view hierarchy changes. Done means the expected tab-switching behavior is established and the issue's repeated view creation and memory retention are resolved or explained.

Written by the indexing model from the issue text.

Description

Hi there !

I was noticing this behaviour in my TabsRoute ... Every time I switch between tabs (with <Link to="..."/>) a new view is pushed into the hierarchy and, of course, it's being kept in memory.

Am I doing something wrong ?

Thanks !

Dominant language
JavaScript
Stars
636
Forks
37
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jmurzy/react-router-native

All issues in jmurzy/react-router-native

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.