adobe/alloy

Sandbox SPA example stuck in loop

Closed this issue · 2 comments

dsws commented

Expected Behaviour

Not to be stuck in loop

Actual Behaviour

Compiled with problems:X

ERROR

[eslint]
src/PersonalizationSpa.js
Line 7:3: 'usePropositions' was used before it was defined no-use-before-define
Line 24:3: 'usePropositions' was used before it was defined no-use-before-define
Line 40:3: 'usePropositions' was used before it was defined no-use-before-define

Search for the keywords to learn more about each error.

Then it goes into some loop that makes a call to https://edge.adobedc.net/ee/va6/v1/interact... every couple of seconds.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Build the lb then run sandbox and visit http://localhost:3000/personalizationSpa/products

Platform and Version

"name": "@adobe/alloy",
"version": "2.17.0",

Sample Code that illustrates the problem

Logs taken while reproducing problem

Seeing the same behaviour when clicking on the Products and Cart buttons

Fixed.