Aurelia 1.x Q&A - Sandbox at https://codesandbox.io/s/aurelia-javascript-sandbox-jnl6q85zq5
dependabot[bot] on npm_and_yarn
chore(deps): bump socket.io fro… (compare)
EisenbergEffect on master
doc: new one time backer (compare)
I am struggling to get Aurelia and Webpack working. I managed to get the build to complete successfully, however when I try to load the app using the generated bundle I see
"Error: Unable to find module with ID: app/my-module"
I read the AureliaPlugin wiki and checked the listed modules Webpack was including in the bundle.
The module in question is listed, however it (and most other modules - not all strangely enough) is in the form "app/my-module?####".
I can't find anyway to control the moduleId webpack generates, and its pretty ridiculous it would generate a new Id and then not use it..
Any suggestions are appreciated. Also I have ensured PLATFORM.moduleName is used everywhere in case that's a question.
Hello Guys, I'm not an Aurelia expert and I see a strange issue when debugging a customer application:
I see some long delay during a component refresh and it's like the browser is hangging.
Some browser even prompt to wait or cancel the page
After added lots of tracing log lines, I see a strange "nothing happenend" between the a dynamic route calculation and the actual route activation.
My question is: does one of you already behavior like that ? AKA does dynamic routes may cause behavior like that ?
Thanks in advance
It's like the browser needs 30 seconds to find his way to the dynamic page ;-)
requestOptions.body = /^application\/(.+\+)?json/.test(contentType.toLowerCase()) ? JSON.stringify(body) : (0, _aureliaPath.buildQueryString)(body);
is executed then requestOptions.body
doesn’t contain the property that was marked as observable. Before the above call body
does contain said property.
<template>foo</template>
function createTemplate() { const template = document.createElement("template"); template.innerText = "foo"; return template; }
$view = createTemplate()
hi! I have an if-binding for "n" tags in the view, and the condition values are kept in a map (computedFrom). I'm having some issues accessing the items in the map inside the view, which I thought would be straightforward, like this if.bind="isThisItemVisible.get(itemId)". Nothing is returned. I know it's passed to the view, because I can get the size to display, just not the content. Is this as expected?
Found out that map.has() works in the if-bind. The problem was that the data was never updated, due to the how a collection is not observed. I seem to have resolved it using the BindingSignaler