Allow arguments to `{{mount}}` template keyword and `mount` routing helper
See original GitHub issueThe following was discussed at the Ember Core Team F2F in January:
The {{mount}} template keyword should allow normal handlebars style hash arguments. The router DSL style should also allow some sort of API to supply parameters too.
Still TBD:
- What API should the
mount
routing helper support for accepting parameters? - Are arguments set directly on the engine instance?
- How can an engine declare which properties are writeable?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Ember.Templates.helpers - 4.8 - Ember API Documentation
The {{mount}} helper lets you embed a routeless engine in a template. Mounting an engine will cause an instance to be booted and...
Read more >Phoenix.LiveView — phoenix_live_view v0.8.1 - HexDocs
For each LiveView in the root of a template, mount/3 is invoked twice: once to do the initial page load and again to...
Read more >Rails Routing from the Outside In - Ruby on Rails Guides
How to automatically create paths and URLs using route helpers. Advanced techniques such as creating constraints and mounting Rack endpoints.
Read more >How to add url parameters to Django template url tag?
First you need to prepare your url to accept the param in the regex: (urls.py) url(r'^panel/person/(?P<person_id>[0-9]+)$', 'apps.panel.views.person_form', ...
Read more >API — Flask Documentation (2.2.x)
The idea of the first parameter is to give Flask an idea of what belongs to ... The endpoint name for the route...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this already solved 🎉 can we close this @dgeb @rwjblue ?
My concern is that you could introduce runtime dependencies making tree shaking and lazy loading more difficult.