API reference › @evolu/common › Platform
Platform runtime utilities and capability abstractions.
| Type Alias | Description |
|---|
| FlushSync | FlushSync is for libraries like React to flush updates synchronously inside the provided callback to ensure the DOM is updated immediately. |
| ReloadApp | Reload the app in a platform-specific way. |
| Variable | Description |
|---|
| hasNodeBuffer | Detects if Node.js Buffer is available and should be used. |
| isHermes | Returns true if running in React Native with Hermes engine. |
| isServer | Returns true if running in a server environment (no DOM). |