Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ FEATURE ] Need upgrade documentation #170

Open
Shakahs opened this issue Jun 25, 2024 · 1 comment
Open

[ FEATURE ] Need upgrade documentation #170

Shakahs opened this issue Jun 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Shakahs
Copy link

Shakahs commented Jun 25, 2024

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 Shakahs added the enhancement New feature or request label Jun 25, 2024
@Shakahs Shakahs changed the title [ FEATURE ] Library upgrade instructions [ FEATURE ] Need upgrade documentation Jun 25, 2024
@mrzachnugent
Copy link
Owner

@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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants