The SDK doesn’t automatically observe our components or their inputs for
changes. It’s up to you to implement an update flow that is appropriate for
your use case.
If the component has been removed after pageload and is then re-added
- Render the component to the screen
- call
window.loyaltylion.ui.refresh()
If the component’s value needs to be updated
- Update the component’s attribute value
- call
window.loyaltylion.ui.refresh()