appandflow / appandflow/react-native-safe-area-context
Big lighthouse score impact on web
Open
enhancement
help wanted
Platform: Web
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 258
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.