Aurelia 1.x Q&A - Sandbox at https://codesandbox.io/s/aurelia-javascript-sandbox-jnl6q85zq5
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