react-redux-isomorphic
Version:
Set of utilities for creating isomorphic applications using react-redux
5 lines (4 loc) • 391 B
TypeScript
import type { Dispatch } from 'redux';
import type { DefaultLoadParams } from './types';
declare const requestContext: <IsomorphicContext, IsomorphicError, LoadParams = DefaultLoadParams>(isomorphicId: string, getContext: (loadParams: LoadParams) => IsomorphicContext | Promise<IsomorphicContext>, loadParams: LoadParams, dispatch: Dispatch) => Promise<void>;
export default requestContext;