From e9ecc656528ec54e93a9bcd43e39e0b6888a6ed5 Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Sat, 18 Nov 2023 22:13:40 -0800 Subject: [PATCH] introduce RCTFoundation (#41418) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41418 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 fbshipit-source-id: 8bc0a193b486f5a0653ad58d92a034cacede2d61 --- .../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 00000000000..b5bdb2bf6f0 --- /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.