I used this component under the '/path' route and observed that the '/' route would load a huge. js file. Even if the entire project does not use this component, the first screen access to the '/' route would still load this. js file. How can I avoid it? When it accesses the page where the component is introduced, load the. js file
I used this component under the '/path' route and observed that the '/' route would load a huge. js file. Even if the entire project does not use this component, the first screen access to the '/' route would still load this. js file. How can I avoid it? When it accesses the page where the component is introduced, load the. js file