You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to find a way to control the shadow node initialization phase manually. This would allow me to render components asynchronously using Fabric.
This example causes the app to hang for about ~6 seconds while nodes are created and measured, regardless if I prevent them from laying out on Obj-C side:
Find a way to break up (or batch) nodes initialization without using private API's (e.g. Scheduler, MountingTransaction, UIManager)
Do this without adding extra work to the JS or UI threads
Context: I'm exploring ways to create virtualization on the native side here: https://github.com/azimgd/shadowlist
So far, I've managed to get 60fps scrolling and lower memory use. But I'm having issues with a long fcp times.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to find a way to control the shadow node initialization phase manually. This would allow me to render components asynchronously using Fabric.
This example causes the app to hang for about ~6 seconds while nodes are created and measured, regardless if I prevent them from laying out on Obj-C side:
What I want to do:
Context: I'm exploring ways to create virtualization on the native side here: https://github.com/azimgd/shadowlist
So far, I've managed to get 60fps scrolling and lower memory use. But I'm having issues with a long fcp times.
Beta Was this translation helpful? Give feedback.
All reactions