How Can I do code split in Refine
I want to do
ref: https://reactrouter.com/en/main/route/lazy
check the picture #1
.
And it said
only work in data router
.
What is data router?
ref: https://reactrouter.com/en/main/routers/picking-a-router#using-v64-data-apis
check the picture #2
.
Refine use
I've tried
.
Do anyone know how to do code split in Refine?
lazy load when user change route.ref: https://reactrouter.com/en/main/route/lazy
check the picture #1
.
And it said
.
What is data router?
ref: https://reactrouter.com/en/main/routers/picking-a-router#using-v64-data-apis
check the picture #2
.
Refine use
BrowserRouter which is NOT data router.I've tried
React.lazy to code split the pages, but it did NOT work..
Do anyone know how to do code split in Refine?




