BuildNotificationState
●next-build-notifier · /index·type
The reactive state + actions exposed by the engine, context hook, and render-prop.
Properties
PROPTYPEDESCRIPTION
check
() => void
Trigger an immediate version check.
currentBuildId
string
The client's own baked build id.
dismiss
() => void
Dismiss the current update (persisted per build id).
dismissed
boolean
``true`` only while ``updateAvailable`` is also ``true`` and the user dismissed *this* build id —
there is nothing to dismiss otherwise. The per-id dismissal persists so a *newer* build
re-surfaces (flips ``dismissed`` back to ``false``).
lastCheckedAt
number |
nullEpoch ms of the last successful check, or ``null``.
Related
WithBuildNotifierOptions withBuildNotifier BuildNotifierConfig BuildNotifierProps BuildNotifierProviderProps VersionResponse BuildNotifier BuildNotifierProvider