UNPKG

launch.io

Version:

Launch.IO is an Ultra Hip, Simple, and Fast, Time Traveling React State Management Library

9 lines (8 loc) 468 B
import { LaunchOptions, Service } from "../types"; /** * Initialize a React application with Launch.IO. * * @param {Array} services An `array` of application services. Each service object will consist of `name` (`string`), `initialState` (`object`), and `actions` (object of functions) properties. * @param {Object} options A `Launch.IO` `LaunchOptions` object. * */ export declare const initializeLaunch: (services: Service[], options?: LaunchOptions) => void;