navigation-rfc icon indicating copy to clipboard operation
navigation-rfc copied to clipboard

make npm installable / requireable

Open rt2zz opened this issue 8 years ago • 1 comments

I think this would be a lot easier to experiment with if we make it npm installable & requireable

The basic changes required to make this work can be seen here: https://github.com/rt2zz/navigation-rfc-module/commit/089aa9bb8ec3745d6f06dbec6d6d0c899d90eb88

It could then be installable as follows: npm install ericvicenti/navigation-rfc and require: var Navigation = require('navigation-rfc')

If you are open to this I will submit a PR

rt2zz avatar Jan 27 '16 23:01 rt2zz

note: we can also go one step further and remove the react-native injection and require people to require navigation components straight out of navigation-rfc

rt2zz avatar Jan 27 '16 23:01 rt2zz