Skip to content

remix/component · Interface

View Source

PrefetchReferences

Summary

References to prefetch, with defaults for omitted fields and [] to skip a category.

Signature

interface PrefetchReferences {
  assets?: readonly Element[]
  frames?: readonly Pick<PrefetchFrameReference, 'src' | 'target'>[]
}

Properties

assets

Original asset elements to prefetch; [] skips asset hints (defaults to discovered assets).

frames

Nested frame requests to fetch using the same overrides. Does not change asset selection (defaults to none).