jwood983 / streamlit-aggrid-redux

An improved version of streamlit-aggrid by Pablo Fonseca
MIT License
1 stars 0 forks source link

Bundle sizes #8

Open jwood983 opened 11 months ago

jwood983 commented 11 months ago

Current npm build yields the following message,

The bundle size is significantly larger than recommended. Consider reducing it with code splitting: https://goo.gl/9VhYWB You can also analyze the project dependencies: https://goo.gl/LeUzfb

Following the links yields the suggestion to split the imports to be in a 'lazy-load' so that we don't import everything at top level (which can be slow).

jwood983 commented 11 months ago

Actually, it looks like it would be better to move the AgGrid Enterprise modules to a separate function. Maybe also the non-AgGrid class functions?