
11/26/2021
What this post added
This post details the technical challenges and solutions for building an App Clip with React Native. Key contributions include: identifying and addressing the significant size overhead of React Native in App Clips by explicitly defining native dependencies in the Podfile, demonstrating a 'Hello World' App Clip size reduction from 28MB to 4.3MB; outlining a proof-of-concept strategy for failing fast on technical feasibility; exploring and rejecting a full code-sharing approach for the order view due to complexity and risk to the App Clip's size limit; and proposing a compromise of sharing sub-components like `<ProductRow />` while managing native dependencies like `react-native-fast-image`.