react-native-reuse

React Native components that can be reused for new projects.

Usage no npm install needed!

<script type="module">
  import reactNativeReuse from 'https://cdn.skypack.dev/react-native-reuse';
</script>

README

react-native-reuse

React Native components that can be reused for new projects.

How to see my changes immediately in the example

In the library's package.json change

"main": "lib/index.js",

to

"main": "src/index.tsx", // or `index.ts` if you don't have JSX there

restart the bundler if you have it running

yarn start

⚠️⚠️⚠️ Don't forget to change this back before making a release, since with npm you supply lib folder, not src.

Release

Create an npm account here if you don't have one. Then do

npm login

and

npm publish