How to use createBrowserRouter to impliment skeletons for routes? #11176
Replies: 2 comments
-
hi |
Beta Was this translation helpful? Give feedback.
-
Your Do you have data to fetch for your components and want to show a skeleton during that fetch? If so, you can use
Or, if you don't have data to load but want to navigate immediately and show a loading skeleton while your component file loads, you can use
|
Beta Was this translation helpful? Give feedback.
-
export
, and Layouts are have<Outlet/>
, But the Skeletion Loading for each Route Should be needed. I slowed down the network speed and tested out but It doesn't showed Loading text instead of Component we are attaching withlazy
.Beta Was this translation helpful? Give feedback.
All reactions