Skip to content

Commit f17813e

Browse files
committed
feat(docs): add recommended libs guide
1 parent 32662ac commit f17813e

File tree

3 files changed

+52
-8
lines changed

3 files changed

+52
-8
lines changed

docs/astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ export default defineConfig({
187187
},
188188
],
189189
},
190+
{
191+
label: 'Libraries Recommendation',
192+
link: '/libraries-recommendation',
193+
},
190194
{
191195
label: 'CHANGELOG',
192196
link: '/changelog',

docs/src/content/docs/changelog.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,4 @@ head:
66
content: Obytes Starter ChangeLog | React Native / Expo Starter
77
---
88

9-
## V5.0.0
10-
11-
- Upgrade to Expo 50
12-
- Switch to `expo-router` for navigation
13-
- Upgrade to NativeWind 4.0
14-
- Refactor `ui` and update common components to use NativeWind 4.0 with `tailwind-variants`
15-
- Add checkbox, radio, and switch components
16-
- Improve eas setup with PNPM
9+
For complete changelog, please check the [GitHub releases](https://github.com/obytes/react-native-template-obytes/releases) page.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Libraries Recommendation
3+
description: React Native / Expo Libraries recommendation for the project based on use cases.
4+
head:
5+
- tag: title
6+
content: Libraries Recommendation | React Native / Expo Starter
7+
---
8+
9+
The starter kit comes with a set of pre-installed and configured libraries. We recommend using these libraries for your project.
10+
11+
Below, we'll list other libraries we often use in our projects. These aren't included in the starter because:
12+
13+
1. They're for specific use cases.
14+
2. They need a lot of setup.
15+
16+
This way, you can add them to your project only if you need them, keeping things simple to start with.
17+
18+
### State Management:
19+
20+
The starter kit comes with Zustand out of the box but if your application implements a lot of workflows, you might want to use [XState](https://xstate.js.org/) as it's more powerful on managing complex workflows and state machines.
21+
22+
For example, if you have a workflow to create a new card for user and this workflow has a lot of steps and conditions, Zustand might not be the best choice as it's more designed for simple state management and XState is your best choice in this case.
23+
24+
### Error Reporting:
25+
26+
- [Sentry](https://sentry.io/welcome/): very popular solution for error reporting in the javascript ecosystem and has a great integration with Expo.
27+
28+
### Notifications:
29+
30+
There is no solution fit all for notifications, but based on your use case we would recommend one of the following:
31+
32+
- [Expo Push Notifications](https://docs.expo.dev/push-notifications/overview/)
33+
- [OneSignal](https://onesignal.com/)
34+
35+
### Analytics:
36+
37+
- [PostHog](https://posthog.com/docs/libraries/react-native) : Easy to setup and use and has a great free tier.
38+
39+
- [Google Analytics](https://rnfirebase.io/analytics/usage)
40+
41+
### Charts:
42+
43+
- [Victory Native](https://github.com/FormidableLabs/victory-native-xl)
44+
45+
---
46+
47+
For sure we are missing some great libraries here, so we count on your contribution to add them in the comments sections below.

0 commit comments

Comments
 (0)