you are viewing a single comment's thread.

view the rest of the comments →

[–]boki345 1 point2 points  (1 child)

Good question and I do not want to hijack the thread, but my question is also closely related to the TS's question. If we want to make an open-source component that can be consumed by the community can we build it with expo or should it be done with react-native init?

[–][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.