Skip to content

Commit

Permalink
introduce RCTFoundation (#41418)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
philIip authored and facebook-github-bot committed Nov 19, 2023
1 parent 9af8f78 commit e9ecc65
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/react-native/ReactApple/Libraries/RCTFoundation/README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit e9ecc65

Please sign in to comment.