Function CustomDependencyContainer

  • Provides a custom dependency container to React app

    Example

    const container = useMemo(() => {
    return createContainer();
    }

    return (
    <CustomDependencyContainer container={container}>
    {children}
    </CustomDependencyContainer>
    );

    Parameters

    • params: {
          children: ReactNode;
          container: Container;
      }
      • children: ReactNode
      • container: Container

        a custom container

    Returns ReactElement

Generated using TypeDoc