Skip to content

Conversation

@vinils
Copy link

@vinils vinils commented Dec 6, 2025

Problem creating JS library and adding a simple component since its declaring react and react native into devDependecies as issue #912 (#912)
image

This PR remove/replace react and react-native from dev dependecies by their types once it should be used on peer dependecies only.

Summary

as issue #912
while creat-react-native-library -> JSLibrary, sample project breaks while creating any simple component since they use different types of react and react native reference. one for the library and anathoer for the example.

Test plan

create a JSLibrary template and add a simple component as suggest below:
image

@vinils
Copy link
Author

vinils commented Dec 6, 2025

@satya164 could you review it for me, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant