Commit 71f081f
committed
feat: enhance checkout score pulse to support player surface mutations
- Introduced player surface snapshot handling in the checkout score pulse feature.
- Updated score node retrieval functions to scope lookups to the player surface when available.
- Implemented mutation observer logic to efficiently handle changes within the player surface without unnecessary re-renders.
- Added tests to verify the correct behavior of score node retrieval and mutation observation in the context of player surfaces.1 parent 0df22d5 commit 71f081f
4 files changed
Lines changed: 515 additions & 135 deletions
File tree
- dist
- src/features/checkout-score-pulse
- tests/runtime
0 commit comments