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

Big lighthouse score impact on web

Aperta
#293 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted Platform: Web
Lingua principale
TypeScript
Stelle
2.8k
Fork
258
Merge medio
3g 1h
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.