frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 114 forks source link

Contribute this to upstream #1

Closed satya164 closed 7 years ago

satya164 commented 8 years ago

It'll be great to improve the react-native create-library the command. Any plans to contribute this to upstream?

frostney commented 8 years ago

I would love that and this is definitely something I want to do, but I'm not sure if it's stable enough for that just yet. The reason this is a separate repository is mostly because I wanted a "safe" space to experiment with some ideas and I wasn't sure if my approach might be too opinionated.

esutton commented 8 years ago

It would be also be great if the generated project included a few example ReactMethods and simple implementations in Java, Objective-C, and Windows.

This would really help developers get going quickly and result in many new native modules being built:

My Wish List:

Input: { a: 4, b: 2 }

and returns a map

Output: { a: 4, b: 2, result: 6 }

Thank you for sharing your work!

I spent nearly 2-weeks just getting an Android native module and example project going by copying various patterns used by react-native-fs and others. This tools will be a great help.

I may start all over using your tool since creating the iOS project could waste another week!