You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Track the time it takes for a eager-loaded (or lazy-loaded) Turbo Frames to load.
This information could be displayed in the Turbo Frame tab from the detail panel, or directly in the DOM besides the Turbo Frame info badge.
The text was updated successfully, but these errors were encountered:
listenForLazyLoadedFrames(){document.addEventListener("turbo:before-frame-render",(event)=>{consttimeEnd=newDate().getTime()consttimeDiff=timeEnd-this.devTool.initializedAtconsole.log(`Frame: ${event.target.id} loaded in ${timeDiff}ms`)})}
Track the time it takes for a eager-loaded (or lazy-loaded) Turbo Frames to load.
This information could be displayed in the Turbo Frame tab from the detail panel, or directly in the DOM besides the Turbo Frame info badge.
The text was updated successfully, but these errors were encountered: