react-native-community / directory

A searchable and filterable directory of React Native libraries.
https://reactnative.directory
MIT License
1.06k stars 507 forks source link

Mark js/ts only libraries as supported on all platforms #449

Open asklar opened 4 years ago

asklar commented 4 years ago

Some libraries don't contain any javascript and are likely going to work out of the box on all platforms (as long as they don't expect access to the html DOM, e.g.). Is there a way to detect this and if so can we automatically mark these libraries as supported everywhere?

brentvatne commented 4 years ago

i think this isn't always true. sometimes they don't include any native code in their own sources but they depend on some other library being installed, such as react-native-gesture-handler or react-native-svg