emberjs / emberjs/ember.js

Make boot URL available somehow

Open
#18,513 2 comments 0 reactions 0 assignees View on GitHub
Needs RFC Routing
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

For most apps, the initial URL of an app is `/`, but when using the `visit()` API, it may be useful to know this information later down the path (ignoring any redirects or other transitions that may happen by the app).

This `bootURL` could be available on the `router` or the router service, but because it can also be useful to see it in an initializer, and neither of those are fully setup during the boot process, some other mechanism may be required.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.