OrderbookProvider is responsible for instantiating the core Orderbook class, managing the WebSocket connection lifecycle, and making the instance available to all child components via context.
Import
Usage
Wrap your application root or a specific feature section.The provider automatically calls
.connect() when the component mounts and .disconnect() when it unmounts.Props
The configuration object passed directly to the underlying
Orderbook constructor.The React components that need access to the orderbook data.

