Closed verluci closed 1 year ago
React-native-svg is notorious for breaking things when there's multiple versions of the package installed. It's also very frequently required for packages. Listing it as a peerDependency prevents these issues. Other libraries from the Fluentui stack follow this approach as well, for example https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Icon/package.json
@microsoft-github-policy-service agree
Would you mind taking a look at this pr, @nickromano or @willhou?
Hey @warren-ms can you please take a look?
React-native-svg is notorious for breaking things when there's multiple versions of the package installed. It's also very frequently required for packages. Listing it as a peerDependency prevents these issues. Other libraries from the Fluentui stack follow this approach as well, for example https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Icon/package.json