react
react copied to clipboard
Add `enableNativeProcessing()` flag for Fabric ViewConfig attributes
Summary
We want to move more of the style parsing boundary into the Fabric renderer, instead of the outputs of the JavaScript preprocessing functions used by Paper.
When using Fabric renderer specifically, we will now check for the presence of a useNativeProcessing
function, which we can wire with arbitrary granularity inside of RN to allow incrementally removing viewconfig processors when using Fabric.
How did you test this change?
Just flow, and existing tests, for this part of the change. The intention is to wire this function to feature flags on the RN side of the boundary, for specific views/attributes.