# Framework Knowledge

**URL:** https://discourse.aurelia.io/c/framework-knowledge/7.md

[Latest](https://discourse.aurelia.io/latest.md) · [Categories](https://discourse.aurelia.io/categories.md)

---

## [Aurelia 2 docs now have AI features](https://discourse.aurelia.io/t/aurelia-2-docs-now-have-ai-features/5324)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 2\
**Last updated:** [February 2, 2024, 2:16am UTC](https://discourse.aurelia.io/t/aurelia-2-docs-now-have-ai-features/5324 "2024-02-02T02:16:56Z")

</div>

Hi everyone, We use Gitbook for our docs, and they’ve recently made an AI feature public that allows you to ask questions, and it will consult the docs to help answer your questions in a more natural format. In the top …

---

## [About the Framework Knowledge category](https://discourse.aurelia.io/t/about-the-framework-knowledge-category/19)

<div class="topic-metadata">

**Author:** [@patrickwaltersc21](https://discourse.aurelia.io/u/patrickwaltersc21)\
**Replies:** 0

</div>

This category of topics is meant for discussing and sharing information about more advanced topics such as implementation details of the templating engine, as an example. We’ll also discuss plugin authoring and internal…

---

## [Au 2.0RC: Problems with the new Enhance API where enhanced markup doesn't have access to the view-model where it is defined (worked in Au 1.0)](https://discourse.aurelia.io/t/au-2-0rc-problems-with-the-new-enhance-api-where-enhanced-markup-doesnt-have-access-to-the-view-model-where-it-is-defined-worked-in-au-1-0/6606)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 11\
**Last updated:** [April 30, 2026, 6:44pm UTC](https://discourse.aurelia.io/t/au-2-0rc-problems-with-the-new-enhance-api-where-enhanced-markup-doesnt-have-access-to-the-view-model-where-it-is-defined-worked-in-au-1-0/6606 "2026-04-30T18:44:20Z")

</div>

Hello, DevExtreme widgets and the new Enhance API are working well together. But of all the scenarios I tested after having implemented my new bridge between Aurelia 2.0 and DevExtreme, and incorporating all of the kno…

---

## [Au 2.0RC: How do we access $attrs in code? \[RESOLVED\]](https://discourse.aurelia.io/t/au-2-0rc-how-do-we-access-attrs-in-code-resolved/6601)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 1\
**Last updated:** [March 19, 2026, 6:06pm UTC](https://discourse.aurelia.io/t/au-2-0rc-how-do-we-access-attrs-in-code-resolved/6601 "2026-03-19T18:06:50Z")

</div>

Hello, I have written a thin wrapper around another of my components (which is itself a wrapper around a DevExtreme TextArea): tsi-dx-text-area-ex.js import { bindable, capture, customElement } from 'aurelia'; @custo…

---

## [Au 2.0RC: SortableJS - Custom Aurelia-enhanced drag containers fully implemented!](https://discourse.aurelia.io/t/au-2-0rc-sortablejs-custom-aurelia-enhanced-drag-containers-fully-implemented/6597)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 0\
**Last updated:** [March 11, 2026, 6:31pm UTC](https://discourse.aurelia.io/t/au-2-0rc-sortablejs-custom-aurelia-enhanced-drag-containers-fully-implemented/6597 "2026-03-11T18:31:44Z")

</div>

Hello Community, I didn’t hear back on this post: Au 2.0RC: Guidance requested: Revisiting the Enhance API in a new context . But I managed to figure it out! I had the following design goals: SortableJS’s drag conta…

---

## [Au 2.0RC: Guidance requested: Revisiting the Enhance API in a new context](https://discourse.aurelia.io/t/au-2-0rc-guidance-requested-revisiting-the-enhance-api-in-a-new-context/6595)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 0\
**Last updated:** [March 4, 2026, 4:21am UTC](https://discourse.aurelia.io/t/au-2-0rc-guidance-requested-revisiting-the-enhance-api-in-a-new-context/6595 "2026-03-04T04:21:19Z")

</div>

Hello, I have successfully wrapped SortableJS in a manner that is compatible with Au 2.0 (the wrapper will not work with Au 1.0). Borrowing from the knowledge I gained about the Enhance API in working with creating w…

---

## [Au 2.0: Downstream error after resolving a factory with a string](https://discourse.aurelia.io/t/au-2-0-downstream-error-after-resolving-a-factory-with-a-string/6557)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 15\
**Last updated:** [February 13, 2026, 6:34am UTC](https://discourse.aurelia.io/t/au-2-0-downstream-error-after-resolving-a-factory-with-a-string/6557 "2026-02-13T06:34:18Z")

</div>

Hello, Is it permitted to use strings when resolving a factory? When I do this, I don’t get an error, at least not at this point, but I do downstream: this.documentFactory = resolve(factory('ItbDocumentFactory')); My…

---

## [Possible bug: Empty plain objects pick up a toString key when referenced in the view (until a key is added to them)](https://discourse.aurelia.io/t/possible-bug-empty-plain-objects-pick-up-a-tostring-key-when-referenced-in-the-view-until-a-key-is-added-to-them/6583)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 19\
**Last updated:** [February 13, 2026, 4:22am UTC](https://discourse.aurelia.io/t/possible-bug-empty-plain-objects-pick-up-a-tostring-key-when-referenced-in-the-view-until-a-key-is-added-to-them/6583 "2026-02-13T04:22:08Z")

</div>

Hello, I’m not sure if this is bug, or something happened to my environment (maybe Object was patched somewhere, though I can’t find such a patching), or maybe I’m just losing my mind. When I initialize a class member,…

---

## [AU2 approach for dynamic inline templates](https://discourse.aurelia.io/t/au2-approach-for-dynamic-inline-templates/6588)

<div class="topic-metadata">

**Author:** [@elitemike](https://discourse.aurelia.io/u/elitemike)\
**Replies:** 1\
**Last updated:** [February 7, 2026, 5:15am UTC](https://discourse.aurelia.io/t/au2-approach-for-dynamic-inline-templates/6588 "2026-02-07T05:15:10Z")

</div>

Update I didn’t realize it was this simple. I hope au1 didn’t support this. I am revisiting a lot of things that just worked and I never touched once I shipped. \<au-compose template="${parent.itemTemplate}" style="widt…

---

## [Au 2.0: \[Feature Request\] A delay property on the pending leg of a promise.bind](https://discourse.aurelia.io/t/au-2-0-feature-request-a-delay-property-on-the-pending-leg-of-a-promise-bind/6574)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 2\
**Last updated:** [January 20, 2026, 11:40pm UTC](https://discourse.aurelia.io/t/au-2-0-feature-request-a-delay-property-on-the-pending-leg-of-a-promise-bind/6574 "2026-01-20T23:40:03Z")

</div>

Hello Team, The last few days, I’ve been working with the wonderful promise.bind! It would be nice if, on the “pending” leg, we could supply a delay (in milliseconds). I tend to hold off showing a load indicator until…

---

## [External Link Detection issue with hash links](https://discourse.aurelia.io/t/external-link-detection-issue-with-hash-links/6569)

<div class="topic-metadata">

**Author:** [@graycrow](https://discourse.aurelia.io/u/graycrow)\
**Replies:** 0\
**Last updated:** [January 16, 2026, 8:06am UTC](https://discourse.aurelia.io/t/external-link-detection-issue-with-hash-links/6569 "2026-01-16T08:06:16Z")

</div>

I updated my apps from Beta 25 to RC0 and was surprised by one thing. One of the apps uses the MMenuJS library for the UI, which relies heavily on hash links. The library knows which panel to open based on the content of…

---

## [Au 2.0: Weak Set/Weak Map](https://discourse.aurelia.io/t/au-2-0-weak-set-weak-map/6568)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 1\
**Last updated:** [January 12, 2026, 1:05pm UTC](https://discourse.aurelia.io/t/au-2-0-weak-set-weak-map/6568 "2026-01-12T13:05:25Z")

</div>

Hello, In the Custom Attribute section of the documentation, the Aurelia Docs make this statement in the context of memory management: Weak references: Use WeakMap/WeakSet for object references when appropriate Coul…

---

## [Au 2.0: Do we not have defaultBindingMode on @customElement?](https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 2\
**Last updated:** [December 23, 2025, 5:01pm UTC](https://discourse.aurelia.io/t/au-2-0-do-we-not-have-defaultbindingmode-on-customelement/6558 "2025-12-23T17:01:37Z")

</div>

Hello, On my Devextreme wrappers, I have this ad infinitum: ... @bindable({ mode: BindingMode.twoWay }) accessKey = undefined; @bindable({ mode: BindingMode.twoWay }) activeStateEnabled = true; @bindable({ mode: Bindin…

---

## [Conclusion: The need to dispose of an enhanced view interferes with some third-party integrations](https://discourse.aurelia.io/t/conclusion-the-need-to-dispose-of-an-enhanced-view-interferes-with-some-third-party-integrations/6554)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 14\
**Last updated:** [December 13, 2025, 7:16pm UTC](https://discourse.aurelia.io/t/conclusion-the-need-to-dispose-of-an-enhanced-view-interferes-with-some-third-party-integrations/6554 "2025-12-13T19:16:56Z")

</div>

Hello, (Please see the following post: Nested custom components issues (Devextreme and Aurelia 2.0 story) ). I’ve come to the conclusion that the need to dispose of an enhanced view (what’s given to us upon enhancement…

---

## [Kudos on the Aurelia 2.0 YouTube videos!](https://discourse.aurelia.io/t/kudos-on-the-aurelia-2-0-youtube-videos/6555)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 1\
**Last updated:** [December 12, 2025, 1:16pm UTC](https://discourse.aurelia.io/t/kudos-on-the-aurelia-2-0-youtube-videos/6555 "2025-12-12T13:16:22Z")

</div>

Hello, @dwaynecharrington Thanks so much for the wonderful YouTube videos! I don’t know if you were referring to my comment specifically, but I had pointed out here on Discourse the value I enjoyed with the Vimeo vide…

---

## [Nested custom components issues (Devextreme and Aurelia 2.0 story)](https://discourse.aurelia.io/t/nested-custom-components-issues-devextreme-and-aurelia-2-0-story/6553)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 2\
**Last updated:** [December 10, 2025, 9:04pm UTC](https://discourse.aurelia.io/t/nested-custom-components-issues-devextreme-and-aurelia-2-0-story/6553 "2025-12-10T21:04:34Z")

</div>

Hello, UPDATE #2 @bigopon I think I can move the needle on this now. It turns out that the Popup widget never did fire dxremove when the popup is hidden, even in our Aurelia 1.0 version. But with Aurelia 1.0, handling …

---

## [Two-way binding not working with target "esnext" on Typescript 5.4](https://discourse.aurelia.io/t/two-way-binding-not-working-with-target-esnext-on-typescript-5-4/5492)

<div class="topic-metadata">

**Author:** [@mreiche](https://discourse.aurelia.io/u/mreiche)\
**Replies:** 3\
**Last updated:** [June 24, 2025, 9:17pm UTC](https://discourse.aurelia.io/t/two-way-binding-not-working-with-target-esnext-on-typescript-5-4/5492 "2025-06-24T21:17:34Z")

</div>

I’ve upgraded Typescript from 5.3 to 5.4.5 (or higher) and two-way binding is not working anymore. Unfortunately, I cannot find a working Aurelia 1 Stackblitz for demonstration.

---

## [I Need Guidance on State Management in Aurelia](https://discourse.aurelia.io/t/i-need-guidance-on-state-management-in-aurelia/5500)

<div class="topic-metadata">

**Author:** [@rosa56](https://discourse.aurelia.io/u/rosa56)\
**Replies:** 3\
**Last updated:** [August 8, 2024, 1:16pm UTC](https://discourse.aurelia.io/t/i-need-guidance-on-state-management-in-aurelia/5500 "2024-08-08T13:16:39Z")

</div>

Hey folks! I Just getting my feet wet with Aurelia, and I’m loving its power and adaptability so far. However, I’m at a roadblock when it comes to implementing state management in my app. I’m not sure what the best co…

---

## [Choosing Right Javascript Development Framework: Is AureliaJS a Good Choice Over AngularJS?](https://discourse.aurelia.io/t/choosing-right-javascript-development-framework-is-aureliajs-a-good-choice-over-angularjs/2409)

<div class="topic-metadata">

**Author:** [@Jacobcullen](https://discourse.aurelia.io/u/Jacobcullen)\
**Replies:** 2\
**Last updated:** [March 27, 2019, 12:31am UTC](https://discourse.aurelia.io/t/choosing-right-javascript-development-framework-is-aureliajs-a-good-choice-over-angularjs/2409 "2019-03-27T00:31:13Z")

</div>

When you are trying to the primary benefit is that, it is easy to learn for users with preceding revel in on Angular or KnockOut you may discover whilst the use of Aurelia as your SPA framework encompass: Aurelia has n…

---

## [\[Video\] Mastering Slotted Content](https://discourse.aurelia.io/t/video-mastering-slotted-content/6405)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 1\
**Last updated:** [May 6, 2025, 9:19am UTC](https://discourse.aurelia.io/t/video-mastering-slotted-content/6405 "2025-05-06T09:19:09Z")

</div>

Hi everyone, We’ve just released a new video on the YouTube channel talking about slotted content. It covers both native \<slot\> as well as \<au-slot\> element usage and the numerous different ways you can work with conten…

---

## [Aurelia v1 - CLI Bundler - Cookbook is gone now?](https://discourse.aurelia.io/t/aurelia-v1-cli-bundler-cookbook-is-gone-now/6390)

<div class="topic-metadata">

**Author:** [@nenadvicentic](https://discourse.aurelia.io/u/nenadvicentic)\
**Replies:** 1\
**Last updated:** [March 20, 2025, 2:18pm UTC](https://discourse.aurelia.io/t/aurelia-v1-cli-bundler-cookbook-is-gone-now/6390 "2025-03-20T14:18:32Z")

</div>

Hi guys, I have to integrate a legacy JavaScript pluging leaflet-draw in existing Aurelia v1 that uses requirejs. The plugin leaflet-draw requires leaflet exposes as global L variable. The problem is, I cannot find the…

---

## [Aurelia 2 Deep Dive Video: Mastering Synthetic Views](https://discourse.aurelia.io/t/aurelia-2-deep-dive-video-mastering-synthetic-views/6333)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 12:04am UTC](https://discourse.aurelia.io/t/aurelia-2-deep-dive-video-mastering-synthetic-views/6333 "2025-01-29T00:04:22Z")

</div>

Hello Aurelians. We are back with another video on working with synthetic views. This video will cover how to build views in your Aurelia applications programmatically. The video can be found here on our YouTube channel:…

---

## [Mastering Template Controllers in Aurelia 2](https://discourse.aurelia.io/t/mastering-template-controllers-in-aurelia-2/6339)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:32am UTC](https://discourse.aurelia.io/t/mastering-template-controllers-in-aurelia-2/6339 "2025-01-28T07:32:47Z")

</div>

Hello Aurelians. We’ve published another video, this time on working with template controllers in Aurelia 2. In the following video, we briefly explain what template controllers are and then build our own template contro…

---

## [Aurelia 2 Deep Dive Video: Working With AppTasks](https://discourse.aurelia.io/t/aurelia-2-deep-dive-video-working-with-apptasks/6330)

<div class="topic-metadata">

**Author:** [@dwaynecharrington](https://discourse.aurelia.io/u/dwaynecharrington)\
**Replies:** 0\
**Last updated:** [January 19, 2025, 1:19pm UTC](https://discourse.aurelia.io/t/aurelia-2-deep-dive-video-working-with-apptasks/6330 "2025-01-19T13:19:38Z")

</div>

Hello community, Dwayne here. Our first video in a series of many more videos talking about framework concepts in v2 has dropped. It’s about app tasks, and if you’re not familiar with them or understand why/when you woul…

---

## [Aurelia Materialize Bridge user census](https://discourse.aurelia.io/t/aurelia-materialize-bridge-user-census/3592)

<div class="topic-metadata">

**Author:** [@MaximBalaganskiy](https://discourse.aurelia.io/u/MaximBalaganskiy)\
**Replies:** 17\
**Last updated:** [January 15, 2025, 7:19am UTC](https://discourse.aurelia.io/t/aurelia-materialize-bridge-user-census/3592 "2025-01-15T07:19:12Z")

</div>

Let’s count the heads, guys! MaterializeCSS is in a turmoil at the moment. I need to understand where we’re heading with the bridge. I could as well be the only one who’s using it :slight\_smile:

---

## [Migrating Au1's #enhance to Au2's #enhance](https://discourse.aurelia.io/t/migrating-au1s-enhance-to-au2s-enhance/6321)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 10\
**Last updated:** [January 14, 2025, 5:12am UTC](https://discourse.aurelia.io/t/migrating-au1s-enhance-to-au2s-enhance/6321 "2025-01-14T05:12:48Z")

</div>

Following on from Trouble migrating from Au1 to Au2 where certain technical APIs are being utilized, I have made tremendous progress. The last sticking point, I think, is the difference between the configuration object …

---

## [Trouble migrating from Au1 to Au2 where certain technical APIs are being utilized](https://discourse.aurelia.io/t/trouble-migrating-from-au1-to-au2-where-certain-technical-apis-are-being-utilized/6320)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 11\
**Last updated:** [January 7, 2025, 1:03am UTC](https://discourse.aurelia.io/t/trouble-migrating-from-au1-to-au2-where-certain-technical-apis-are-being-utilized/6320 "2025-01-07T01:03:06Z")

</div>

Hello, I am continuing the journey of migrating from Au1 to Au2, and have reached the point of integrating Devextreme (from DevExpress), which I will abbreviate as Dx. BACKGROUND In our Au1 application, I have success…

---

## [Au2: Using au-compose and an HTML file](https://discourse.aurelia.io/t/au2-using-au-compose-and-an-html-file/6313)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 2\
**Last updated:** [January 6, 2025, 3:30am UTC](https://discourse.aurelia.io/t/au2-using-au-compose-and-an-html-file/6313 "2025-01-06T03:30:14Z")

</div>

In v1, I could do this: \<compose view="./some-file.html"\>\</compose\> where some-file.html is simply located under the src folder (not at an endpoint to be reached by fetch or some other HTTP API). When it comes to icon…

---

## [Can you dynamically create a new element and bind "repeat.for" dynamically?](https://discourse.aurelia.io/t/can-you-dynamically-create-a-new-element-and-bind-repeat-for-dynamically/3037)

<div class="topic-metadata">

**Author:** [@YardGnomeNinja](https://discourse.aurelia.io/u/YardGnomeNinja)\
**Replies:** 7\
**Last updated:** [December 27, 2024, 10:38pm UTC](https://discourse.aurelia.io/t/can-you-dynamically-create-a-new-element-and-bind-repeat-for-dynamically/3037 "2024-12-27T22:38:24Z")

</div>

In my continued attempts at getting really silly and trying to do things I probably shouldn’t, I pose this question. I want to do something to the effect of: this.listOfThings.push({ id: 1, name: 'boo' }); let contain…

---

## [I want to know Best Practices for State Management in Aurelia](https://discourse.aurelia.io/t/i-want-to-know-best-practices-for-state-management-in-aurelia/5530)

<div class="topic-metadata">

**Author:** [@gwennadf](https://discourse.aurelia.io/u/gwennadf)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 11:58pm UTC](https://discourse.aurelia.io/t/i-want-to-know-best-practices-for-state-management-in-aurelia/5530 "2024-12-17T23:58:54Z")

</div>

Hello All Community Member, I am working on a project where effective state management is crucial and I want to ensure that I am using the most efficient and maintainable approach. What are the recommended strategies f…

[Next page](https://discourse.aurelia.io/c/framework-knowledge/7.md?page=1)
