Comments (12)
Use case
generate route to a sibling router
aurelia/router#89
from aurelia.
Re aurelia/router#379
Commenting here because that issue was closed, but it would be a wishlist item for a backport...
Similar to how globalResources lets you pass the constructor for a resource now instead of the module path,
It would be great if you could pass an async function to the route config that resolves to the viewmodel constructor (ie container key?) to use for the route.
We are trying to avoid things breaking due to moved or renamed modules, and this is one of the last areas in our app where a string is still required.
Being able to pass a function that returns (await import("module-path")).ViewModelX
would allow the build to catch errors (or the IDE to do the refactoring).
from aurelia.
from aurelia.
Use case:
A dynamically loaded component has configureRouter
and router-view
from aurelia.
some developers would like to generate events on child routers
aurelia/router#293
from aurelia.
a case to look and test for with child router and redirect params
aurelia/router#66
from aurelia.
Cancelling a navigation instruction with a redirect raises inconsistent navigation events
aurelia/router#177
from aurelia.
Links containing hash anchor tags in URL not supported
aurelia/router#225
from aurelia.
Add helpers for dynamically matching paths
aurelia/router#249
from aurelia.
Load route viewModel module from external location or via alternative resolve strategy
aurelia/router#379
from aurelia.
excessive activation of a parent router when navigated back from inner router
aurelia/router#155
from aurelia.
warn about duplicate names
aurelia/router#366
from aurelia.
Related Issues (20)
- [RFC] Remove safe-member access in expression HOT 12
- @aurelia/ts-jest should be upgraded to support Jest v29 to support TypeScript 5 HOT 2
- Fresh install with parcel and yarn not working HOT 2
- router: popstate events are broken with empty routes ('') HOT 2
- [feature request] Ability to describe an async component HOT 1
- Router: Inconsistent behaviour with parent route parameters
- Bug: redirectTo in navigationModel HOT 4
- AUR0501 triggered by containerless even when there are no slots used at all HOT 15
- au-slot does not work inside shadow dom HOT 12
- Rollup Generation Fails on @containerless and @capture decorators
- Rollup Generation Fails when using Conventions
- HTML attribute removed on binding/templating HOT 4
- Inconsistencies in Router Documentation HOT 1
- a load is completely broken - AUR0707:route,load HOT 20
- Replace sass-lint to get rid of critical vulnerabilities HOT 2
- router-lite: null/undefined in optional parameters HOT 5
- package "exports" field prevents importing dev builds without a bundler HOT 3
- AUR3352: Unexpected state at swap of VPA
- Aurelia Router - Duplicate content
- Portal attribute: aurelia markup <!--au-start--><!--au-end--> are not removed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurelia.