Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add some more comments
  • Loading branch information
billyvg committed Jan 7, 2025
commit da8232f057d52449d0004f1d01d82f67bfd8d4ae
3 changes: 3 additions & 0 deletions static/app/utils/replays/hooks/useExtractDomNodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export default function useExtractDomNodes({
}): UseQueryResult<Map<ReplayFrame, Extraction>> {
return useQuery({
queryKey: ['getDomNodes', replay],
// Note: we filter out `style` mutations due to perf issues.
// We can do this as long as we only need the HTML and not need to
// visualize the rendered elements
queryFn: () => replay?.getExtractDomNodes({withoutStyles: true}),
enabled: Boolean(replay),
gcTime: Infinity,
Expand Down
Loading