Currently antd components are being loaded statically. This increases the bundle size and initial load time. Since not all components are needed at the start, please load all AntD React components dynamically.
Lazy loading the components will avoid loading unused components. For example, if user registers their own components for, say table, then their components will be loaded (and the in-built table will never be loaded).
Description
Currently
antd
components are being loaded statically. This increases the bundle size and initial load time. Since not all components are needed at the start, please load all AntD React components dynamically.Lazy loading the components will avoid loading unused components. For example, if user registers their own components for, say table, then their components will be loaded (and the in-built table will never be loaded).
Solution
Please use something like below: