Skip to content

Instantly share code, notes, and snippets.

@aakashns
Created March 18, 2018 05:16
Show Gist options
  • Save aakashns/ff05efff6761776750aab4745380ade4 to your computer and use it in GitHub Desktop.
Save aakashns/ff05efff6761776750aab4745380ade4 to your computer and use it in GitHub Desktop.
import Loadable from "react-loadable";
import Loading from "./Loading";
const AsyncSettingsPage = Loadable({
loader: () => import("./SettingsPage"),
loading: Loading
});
export { AsyncSettingsPage };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment