API reference@evolu/common › Platform

Platform runtime utilities and capability abstractions.

Interfaces

InterfaceDescription
FlushSyncDep-
ReloadAppDep-

Type Aliases

Type AliasDescription
FlushSyncFlushSync is for libraries like React to flush updates synchronously inside the provided callback to ensure the DOM is updated immediately.
ReloadAppReload the app in a platform-specific way.

Variables

VariableDescription
hasNodeBufferDetects if Node.js Buffer is available and should be used.
isHermesReturns true if running in React Native with Hermes engine.
isServerReturns true if running in a server environment (no DOM).