Skip to content

fix!: resolve issue #305 where looping could happen in typical declarative implementations - #306

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/972823989
Sep 1, 2026
Merged

fix!: resolve issue #305 where looping could happen in typical declarative implementations#306
copybara-service[bot] merged 1 commit into
mainfrom
cl/972823989

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 28, 2026

Copy link
Copy Markdown

fix!: resolve issue #305 where looping could happen in typical declarative implementations

Removes a failure mode possible in React and others when handling error events. A fetch error from <gmpx-place-overview>, when caught, can result in the framework re-assigning the place property, triggering an infinite re-render loop. This change restores diff checking to the place property and implements regression tests.

BREAKING CHANGE: If you rely on setting elem.place = elem.place to force a refresh, you will need to switch to a new, explicit .refresh() method.

@copybara-service
copybara-service Bot force-pushed the cl/972823989 branch 5 times, most recently from 240825c to 3b1eeb5 Compare August 28, 2026 23:14
@copybara-service copybara-service Bot changed the title fix! resolve issue #305 where looping could happen in typical declarative implementations fix!: resolve issue #305 where looping could happen in typical declarative implementations Aug 28, 2026
@copybara-service
copybara-service Bot force-pushed the cl/972823989 branch 15 times, most recently from 616fae4 to 73a5e6b Compare September 1, 2026 23:15
…ative implementations

Removes a failure mode possible in React and others when handling error events. A fetch error from `<gmpx-place-overview>`, when caught, can result in the framework re-assigning the `place` property, triggering an infinite re-render loop. This change restores diff checking to the `place` property and implements regression tests.

BREAKING CHANGE: If you rely on setting `elem.place = elem.place` to force a refresh, you will need to switch to a new, explicit `.refresh()` method.

PiperOrigin-RevId: 974766939
@copybara-service
copybara-service Bot merged commit 6a33f51 into main Sep 1, 2026
5 checks passed
@copybara-service
copybara-service Bot deleted the cl/972823989 branch September 1, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant