shouldFetchData

Function

Determine if we should fetch data(.json or other content) for an item

Determine if we should fetch data(.json or other content) for an item

  • shouldFetchData(item: IItem) : boolean

Parameters

Parameter Type Default Notes
item Required IItem

Returns

boolean

Function defined in packages/common/src/content/_internal/shouldFetchData.ts:13