Skip to main content
The Stratos Plugin SDK provides a set of React hooks that give plugin components access to real-time flight data, shell services, and socket communication. All hooks must be called inside a component tree wrapped by the shell’s PluginShellProvider.

Categories

Core

Flight Data

Flight Management

Shell Integration

Socket & Real-Time

Import

All hooks are exported from the SDK root:

Common Patterns

Selecting a subset of data

Most data hooks accept a select option. The component only re-renders when the selected value changes — not on every simulator tick.

Combining hooks

Hooks are designed to be composed. useTrackingSession is the most ergonomic entry point for tracking-aware plugins; reach for lower-level hooks only when you need finer control.