Skip to content

Instantly share code, notes, and snippets.

@vincicat
Last active March 10, 2023 22:26
Show Gist options
  • Save vincicat/6a9aa8150a470e63d0d5b87ca171e80e to your computer and use it in GitHub Desktop.
Save vincicat/6a9aa8150a470e63d0d5b87ca171e80e to your computer and use it in GitHub Desktop.

Intro

The idea of this is to list the App.js I used for library testing so

a. I don't need a mega repo for everything I tested in React Native (from the installation limitation on physical device to disk space and so on you don't want to have a standalone App for every library you tested)

b. easy demo in snack.io, which is also famous for 'bad to native modules' - so the dependency should be minimal

The current testing enviroment is RN 0.70.7+

Files

State query manager

list of "no redux" and "too complex"❈ alternative

  1. SWR* (swr@2.1.0)
  2. react-query (@tanstack/react-query@4.26.1)
  3. Apollo client (@apollo/client@3.7.10)

* avoid this in production

❈ if you insist, here is a guide for using relay in RN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment