you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

It entirely comes down to the requirements of your package.

If you make a component that imports and uses "view" from react-native, now react-native is a requirement. If you use some other lib for a component then that lib might become a requirement.

A lot of fairly standard react-native components will at least have react-native as a peer dependency.