question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

amp-list: [src] changes don't properly dispose old bindings

See original GitHub issue

I am currently facing a Maximum number of bindings reached (2000). Additional elements with bindings will be ignored issue.

based on my research, at [bind-impl.js#L532] (https://github.com/ampproject/amphtml/blob/master/extensions/amp-bind/0.1/bind-impl.js#L532) will change the limitExceeded from false to true, and this causes me an error which is = 106 + 1 > 106 when i am trying to select countries on my 4th or 5th times. ss1 ss2 ss3

can you please elaborate more on the L530, what is this IF statement checking bindings.length + boundProperties.length > limit does ? I am also curious how does this IF check is relevant to 2000 bindings numbers.

Appreciate more sharing from you. Thanks in advanced. @choumx

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dreamofabearcommented, Jan 9, 2018

@leonalicious Verified this is fixed on version 1515455265699.

1reaction
dreamofabearcommented, Jan 6, 2018

Stumbled on a couple more bugs. 😄

  1. Duplicate rescan due to AmpEvents.DOM_UPDATE event.
  2. Duplicate amp-list render/fetch due to race between mutatedAttributesCallback and layoutCallback.
Read more comments on GitHub >

github_iconTop Results From Across the Web

amp-bind: Expression complexity limit reached #11434 - GitHub
We did encounter 2000 bindings limit issue before, please refer to amp-list: [src] changes don't properly dispose old bindings #12517, ...
Read more >
Loading and Displaying Server Content - amp.dev
In AMP, there's no way to reorganize or filter content that is already rendered on the page. To attempt this using bindings and...
Read more >
How to Properly Dispose of Worn-Out US Flags - Defense.gov
Don't just throw it in the trash like any other old item — that's considered disrespectful. Just as there's etiquette for displaying Old...
Read more >
Ski Recycling Programs to Ensure You Aren't Cluttering Landfills
Although skis have a relatively long life they don't last forever, and therefore, disposing of them properly is imperative.
Read more >
amp-bind brings flexible interactivity to AMP pages
amp-bind fundamentally changes the model for interactivity in AMP, ... with server-side data is now possible through amp-list[src] binding.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found