v21 regression : component is loaded twice
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Start by reproducing the duplicate load with the two states and the /liste/carte route, then compare the behavior with the previous version and review related issue #1012. No source file or test is named; done means the shared component is instantiated only once during this transition and the regression is covered by a verified test or reproduction.
Written by the indexing model from the issue text.
Description
Hi,
before all, thanks for this beautifull project.
I've got a regression with the last version. My component is loaded twice.
My code is not clean, for this exemple, but, before this version it was working.
Just try this :
-
Two states loading the same component, one child to another
{ name: "app.benef.benef", url: "/liste", views: { "main@": { component: BeneficiaireMainComponent } }, }, { name: "app.benef.benef.carte", views: { "main@": { component: BeneficiaireMainComponent } }, url: "/carte" } -
Then go to /liste/carte : BeneficiaireMainComponent is loaded twice...
#1012
- Dominant language
- TypeScript
- Stars
- 365
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from ui-router/angular
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in ui-router/angular
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·