Note that there are some explanatory texts on larger screens.

plurals
  1. USnwayve
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COHow do you know when a crawler is going to crawl your site? If you knew, and a user was using this page, would you hide these elements and say to the user, "hang on, the site's being crawled and I need to hide some stuff for a minute. BRB"? The `if` binding won't just hide the DOM elements, it removes the elements from the page. Also, there's no need to add/remove the style>display attribute because the `visible` binding will do this for you. This is the subtle difference between the `if` and `visible` binding. `if` adds/removes elements from the DOM and `visible shows/hides elements.
      singulars
    2. COCould you provide more information on where else `xMin` and `xMax` are getting used? If they're values are getting updated as a result of the datacontext.getData function executing, chartData's dependency on them will cause chartData to re-evaluate itself and call datacontext.getData again. Could this be what's causing your infinite loop?
      singulars
    3. COIt's certainly a preference thing. To me, passing an observable to create a computed feels kind of icky. In this scenario, unless there's some other need for the Child to have access to the Family's `isSelected` observable, it's not necessary since you can access it in the HTML context: `<div data-bind="foreach: families"><div data-bind="foreach: children"><span data-bind="visible: $parent.isSelected">| Selected!</span></div></div>`
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload