-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Description
I'm sorry if it is a duplicate, first time use new arch because of RN 0.76
<PillInforBox>
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>top text</Text>
<Text style={styles.sectionTitle}>BOTTOM TEXT</Text>
</View>
</PillInforBox>const PillInforBox = ({children}) => {
return (
<Svg>
...
{children}
</Svg>
)
}I code like this and it works in old arch until now (RN 0.76). I tested with
| RN 0.75 | RN 0.76 | |
|---|---|---|
| Old arch | OK | OK |
| New arch | Fail | Fail |
Steps to reproduce
- Clone and build reproduction in new arch
- Disable new arch and rebuild
- There is
rn75branch if you want to test
Snack or a link to a repository
https://github.com/pnthach95/rn76
SVG version
15.8.0
React Native version
0.76.0
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
None
Device model
No response
Acknowledgements
Yes

