Skip to content

ReleaseNotesComponentConstructorParams.shouldShowReleaseNotes?

ReleaseNotesComponentConstructorParams › shouldShowReleaseNotes?

Type: () => Promisable<boolean>

Decides whether the release notes may be shown now.

When it returns false, nothing is shown and nothing is recorded, so the notes are shown at a later start once it returns true. Use it when the notes only make sense while some feature is on.