EkaAI-Tech / EkaAI-Tech/learn

Advanced Performance: Implement dynamic imports for heavy third-party libraries

未关闭
#212 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
123
派生
96
PR 合并指标
30 天内没有已合并 PR

描述

### Description
Currently, large mathematical or graphing libraries might be bundled synchronously into the main JavaScript chunk. This bloats the initial payload and slows down the Time to Interactive (TTI) for users who aren't even viewing the interactive charts.

### Proposed Solution
I propose migrating heavy dependencies to dynamic `import()` statements (or `React.lazy()` if applicable). This ensures that the heavy code is only fetched asynchronously over the network when the user actually navigates to a complex view.

**I would love to work on this advanced performance issue under the GSSoC '24 program! Could you please assign it to me?**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。