developit / developit/simple-element-resize-detector

Possible perf suggestion

未关闭
#4 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted
主要语言
JavaScript
星标
189
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

I wrote one of these that used the same methodology many years ago and found that object elements with no navigation context were much lighter on memory than iframes. It has been so long I am not sure if this is still the case, so take this suggestion with a grain of salt.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查 repository 的 hidden-iframe 实现,以及它如何观察元素大小的变化。将现有方案与使用 object 元素的方案进行基准测试比较,然后记录内存差异是否可以复现,以及是否有必要进行更改。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend, performance
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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