Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1675

React Native and FlexLayout both depend on Yoga — duplicate definition error

$
0
0

I’m building some native Swift code that uses FlexLayout, which has a dependency on Yoga. When I integrate this with React Native and try to compile, I run into a “duplicate definition” error because React Native also depends on Yoga.

Is there a way to include my native code as source (instead of packaging it as a framework) so that my Yoga dependency is hidden from React Native?


Viewing all articles
Browse latest Browse all 1675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>