Expo UI and Router for iOSExpo SDK 57 and later, iOS only
Modifiers

invalidatableContent

Marks the view's content as invalidatable. It is restyled with the "pending update" appearance only when the invalidated redaction reason is applied to an ancestor (for example redacted('invalidated')). Maps to SwiftUI's invalidatableContent(_:).

invalidatableContent(invalidatable)

iOS 17+
ParameterTypeDescription
invalidatable(optional)booleanWhether the content can be invalidated. Defaults to true. Default: true

Marks the view's content as invalidatable. It is restyled with the "pending update" appearance only when the invalidated redaction reason is applied to an ancestor (for example redacted('invalidated')). Maps to SwiftUI's invalidatableContent(_:).

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Works only in some places

Has an effect only when a parent view uses redacted with the invalidated reason.

You can add it to any of these components, but it does something only in the place above.

Sources

The original Expo docs for this page:

On this page