You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at pMinDelay implementation it should work exactly like this.
Could it be that the loader is displayed by the component rendered by the Route, not loadable?
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: