react-native-reusables icon indicating copy to clipboard operation
react-native-reusables copied to clipboard

[ FEATURE ] Need upgrade documentation

Open Shakahs opened this issue 1 year ago • 1 comments
trafficstars

Is your feature request related to a problem? Please describe. Documentation covers initial installation, but not an upgrade process for downstream projects to stay up to date with RNR updates.

Describe the solution you'd like Documentation of the recommendation upgrade procedure.

Describe alternatives you've considered Deleting my lib/components folders and re-importing like a new manual install. But I have changed styling on some components so would have to merge those changes.

Additional context Great library, RN needed something like this.

Shakahs avatar Jun 25 '24 18:06 Shakahs

@Shakahs Great idea, I need to figure out a way to do that!

I am open to suggestions.

Recent changes

- The use of @rn-primitives packages: From your ui folder or anywhere you imported from ~/components/primitives/*, you can install the primitive with npx expo install @rn-primitives/<PRIMITIVE_NAME>, then replace your ~/components/primitives/<PRIMITIVE_NAME> with @rn-primitives/<PRIMITIVE_NAME>. You might need to restart you VS Code to help with the typescript adjustments.

- Each Icon has its own file You can see the changes here: https://rnr-docs.vercel.app/getting-started/adding-icons/

For the rest, the best way to stay up to date with the changes is through the history of commits: https://github.com/mrzachnugent/react-native-reusables/commits/main/

mrzachnugent avatar Jun 27 '24 20:06 mrzachnugent

  • Added change log https://reactnativereusables.com/docs/changelog
  • Added the doctor command to help with installation changes https://reactnativereusables.com/docs/cli#doctor

mrzachnugent avatar Aug 22 '25 17:08 mrzachnugent