appandflow / appandflow/react-native-safe-area-context

Big lighthouse score impact on web

未關閉
#293 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement help wanted Platform: Web
主要語言
TypeScript
星號
2.8k
分支
258
平均合併
3 天 1 小時
30 天內合併 PR
2

描述

Finally narrowed this down in my app - this package triggers reflows on mount on the web. I haven't taken the time to track it down yet but will revisit it soon, but figure it's worth tracking.

One test is to see if we can somehow set a css var we can read from:

https://benfrain.com/how-to-get-the-value-of-phone-notches-environment-variables-env-in-javascript-from-css/

Perhaps if set on root it won't trigger style calc.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。