-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallback behaviour #977
Comments
Looking at pMinDelay implementation it should work exactly like this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I'm not sure how to use fallback with delay as described in this doc: https://loadable-components.com/docs/delay/.
Given something like:
<Route exact path="/product/books" component={loadable(() => pMinDelay(import("views/books", { fallback: <div>loading ...</div> }), 10000))} />
The way it works when implemented is:
What's the correct way to obtain the following:
Thanks!
The text was updated successfully, but these errors were encountered: