This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
Spread extra props into components for event tracking. #2376
Labels
ws-home
Tasks for the WS Home Team
Milestone
Is your feature request related to a problem? Please describe.
Rather than having custom logic in psammead for simorgh event tracking, can we instead spread props into this component, and set the data attribute in simorgh please? IMO we shouldnt have custom logic specific to simorgh when its not needed. Someone else using Brand may not do event tracking like we are. It also makes it very difficult for us to change our event tracking method in the future.
Describe the solution you'd like
Revert work done on
Psammead component:
Simorgh:
Describe alternatives you've considered
Testing notes
[Tester to complete]
Dev insight: Will there be any potential regression? etc
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: