henry
henry
TTCTheo's Typesafe Cult
Created by Janyx on 12/9/2023 in #questions
react-native-web based Component Library?
I've had a good experience with React Native Reusables, especially if you want a consistent cross platform look: https://github.com/mrzachnugent/react-native-reusables RNR uses NativeWind, and follows the shadcn/ui philosophy of using a CLI to stick all the code straight in your project. If you can stomach a paid solution (and/or want a "native" feel), NativeWindUI released a few months ago and I absolutely love it: https://nativewindui.com/ The guy behind RNR is a core dev on NWUI, so it follows the same shadcn/ui philosophy, which I've personally been really enjoying. NWUI does have a couple of free components, so you can tinker w/ it before needing to commit.
3 replies
TTCTheo's Typesafe Cult
Created by Mayhul on 4/25/2024 in #questions
React Native Data Loader library
You can use TanStack query in React Native. I recently started using it to manage my Supabase queries and it is a dream compared to the hand-rolled chaos I had before.
3 replies
TTCTheo's Typesafe Cult
Created by Preston on 8/28/2024 in #questions
React Native
It might depend a bit on how you're doing Auth in your app. I'm using Supabase Auth in mine, and I have a context for managing strictly auth-related things (Session, Role, login/logout handlers, etc.). Separately I have user data that I fetch from joining a number of tables, and need to make available in a handful of places. I'm managing that with TanStack/React Query. Haven't had cause to reach for Zustand yet, but that's because most of the data in my app is remote data from Supabase, which is better handled through an Async state management library like TanStack Query. If your app has a lot of local data that you don't need to store in or fetch from a DB or server somewhere, Zustand is probably a good choice.
4 replies