- Issue created by @jessebaker
- Status changed to Needs review
1 day ago 2:58pm 27 June 2024
Having multiple Previews currently means that every call to update the src of the iFrame is made once per preview.
Make a change to the layout and observe in the network tab there are multiple calls to /api/preview
At this point, inserting a component at a higher level that just deals with fetching the data from the back end seems the best solution. While there, much of the logic where we are injecting/binding events inside the iFrame can probably be tidied too.
Needs review
Page builder