diff --git a/README.md b/README.md index d97d0c8..2759720 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ Resolve components asynchronously, with support for code splitting and advanced [](https://codecov.io/github/ctrlplusb/react-async-component) ```jsx +import { asyncComponent } from "react-async-component"; + const AsyncProduct = asyncComponent({ resolve: () => System.import('./Product'), LoadingComponent: ({ productId }) =>