FluxorExplorerInterceptor

5.0.0

Intercepting actions and state changes and sending them to FluxorExplorer
FluxorOrg/FluxorExplorerInterceptor

What's New

5.0.0

2021-11-12T22:11:56Z

FluxorExplorerInterceptor

An Interceptor to register on a Fluxor Store. When registered it will send FluxorExplorerSnapshots to FluxorExplorer.

Swift version Platforms

Test Maintainability Test Coverage Twitter

⚙️ Usage

To get started with FluxorExplorerInterceptor, just register an instance of it on the Store in an app.

The only thing needed, for FluxorExplorer to receive all actions and state changes from an app, is to register the FluxorExplorerInterceptor in the app's Fluxor Store. When FluxorExplorer and the app are running on the same network (eg. running the app on the iOS Simulator), they will automatically connect and transmit data.

let store = Store(initialState: AppState())
#if DEBUG
store.register(interceptor: FluxorExplorerInterceptor(displayName: UIDevice.current.name))
#endif

NOTE: It is recommended to only register the interceptor in DEBUG builds.

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

Last updated: Tue Mar 12 2024 19:01:03 GMT-0900 (Hawaii-Aleutian Daylight Time)