Skip to content

Conversation

@iankberry
Copy link

This is a required change starting in react native 0.81.

From the Changelog:

CMake: Correctly propagate RN_SERIALIZABLE_STATE to 3rd party CMake targets. Users with custom CMake and C++ code should update to use target_compile_reactnative_options inside their CMakeLists.txt files

The reason I stumbled across it originally is because without this change, the Pressable component from react-native-gesture-handler breaks from RN 0.81 onward when this library is installed. It also affected the react-native-picker library, which had to fix the same issue.

I did confirm that this change addresses the original issue I had with Pressables from RNGH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant