react-native-style-libraries-benchmark icon indicating copy to clipboard operation
react-native-style-libraries-benchmark copied to clipboard

chore: updated and pinned dep versions

Open atanaskanchev opened this issue 1 year ago • 3 comments

I couldn't update the scores as the profiler doesn't run on my local... unistyles is still at the top and gluestack performs much better now

atanaskanchev avatar Oct 20 '23 09:10 atanaskanchev

@efstathiosntonas I've updated all the deps, however I'm unable to run the profiler on my mbp. Do you mind having a look at the pr?

image

atanaskanchev avatar Nov 10 '23 13:11 atanaskanchev

You may want to consider bench-marking NativeWind separately from the other frameworks. NativeWind v4 is global, it changes the jsx import from react->nativewind so 'nativewind' code will be run for every <View />, no matter the framework.

marklawlor avatar Nov 14 '23 06:11 marklawlor

You may want to consider bench-marking NativeWind separately from the other frameworks. NativeWind v4 is global, it changes the jsx import from react->nativewind so 'nativewind' code will be run for every <View />, no matter the framework.

As of 4.0.27 you can add cssInterop={false} to a component to disable the NativeWind transform.

marklawlor avatar Feb 13 '24 12:02 marklawlor