amp-list: [src] changes don't properly dispose old bindings
See original GitHub issueI 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.
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:
- Created 6 years ago
- Comments:20 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@leonalicious Verified this is fixed on version 1515455265699.
Stumbled on a couple more bugs. 😄
AmpEvents.DOM_UPDATE
event.mutatedAttributesCallback
andlayoutCallback
.