Client is a framework agnostic client that manages state and
connection to a Livepeer provider. The createReactClient function wraps the
Client with a React-specific caching layer for faster queries.
Usage
- React
- React Native
createReactClient.
Configuration
provider
Livepeer provider interface for connecting to the network.storage (optional)
- React
- React Native
The default strategy to persist and cache data. Used for both state management
and query caching. Defaults to 
window.localStorage.To disable the use of localStorage, we provide a convenient “no-op” storage
option: