Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow to prevent pods lookup of components

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by tracing how the resolver chooses app/my-route/template.hbs when is invoked, and compare it with app/components/my-route/template.hbs. Clarify whether the opt-out should apply only to co-located components or also to pods syntax; done means a documented, testable way to prevent the unintended route-template lookup.

Written by the indexing model from the issue text.

Description

Follow up on: https://github.com/emberjs/ember.js/issues/18452

Basically, as of now, if you are using pods layout and have a route like this:

app/my-route/template.hbs

It will always take this template when invoking a <MyRoute /> component, even if there is a more "specific" component defined somewhere (e.g. app/components/my-route/template.hbs).

As suggested by @rwjblue , it would be great if you could somehow deactivate this behavior. Either just for the new co-located components, or also for the above pods syntax. As it basically means that you cannot have a component with the same name as any route.

Dominant language
JavaScript
Stars
87
Forks
100
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 ember-cli/ember-resolver

All issues in ember-cli/ember-resolver

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.