Replies: 2 comments 1 reply
-
|
This is the command that we tried and none gave us that import chain: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Alternatively, Chrome devtools "request initiator chain" might help. For example, I see something like this in one of my example app: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
As a team, we have an administration panel that is dynamic and modular. When all modules are included, we see that more than 2000 files are loaded. Most of them are not necessary for the home page.
The first step to make it faster, is to find out the chain that causes the current request to be made to that module/file.
Using AI we extracted these debug options:
But none of them gave us the "chain" that we need. For example, when "/User/Field.jsx" is loaded, we need something like this:
/User/Field.jsxis loaded, because it's imported from/Author/Form.jsx/Author/Form.jsxis loaded, because it's imported from/Author/List.jsx/Author/List.jsxis loaded, because it's imported in the routing of the blog module/Blog/Routes.jsx/Bog/Routes.jsxis loaded because it's imported in the dynamically createdAllRoutes.jsxfile/AllRoutes.jsxis loaded because we import it in theRouting.jsxRouting.jsxis loaded because we import it in thePanel.jsxPanel.jsxis loaded because we import in themain.jsxHow can we get that log?
Beta Was this translation helpful? Give feedback.
All reactions