From 48bec6b69afec13cdfc6eb4e737f77b0f20997a0 Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Fri, 10 Nov 2023 21:00:46 -0800 Subject: [PATCH] introduce RCTFoundation (#41418) Summary: Changelog: [iOS][Added] creating a top level directory for shared lightweight utility functions open to suggs on naming and rules we want to enforce Reviewed By: shwanton, christophpurrer Differential Revision: D51170983 --- .../ReactApple/Libraries/RCTFoundation/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/react-native/ReactApple/Libraries/RCTFoundation/README.md diff --git a/packages/react-native/ReactApple/Libraries/RCTFoundation/README.md b/packages/react-native/ReactApple/Libraries/RCTFoundation/README.md new file mode 100644 index 00000000000000..b5bdb2bf6f040d --- /dev/null +++ b/packages/react-native/ReactApple/Libraries/RCTFoundation/README.md @@ -0,0 +1,12 @@ +# RCTFoundation + +RCTFoundation is a collection of lightweight utility libraries. + +Rules for RCTFoundation libraries: +- They must only depend on other RCTFoundation libraries. +- Headers cannot contain C++. +- They have modular set to true in BUCK. +- They have complete_nullability set to true. +- They have enabled Clang compiler warnings. +- They have documentation. +- They have unit tests.