Hi everyone,
We recently started using RevenueCat with React (non-native) and are relying on the JS library.
We’re not using RevenueCat Web Subscriptions, since we’d prefer not to be locked into their billing system. Instead, we’re just using the library to check customer subscriptions and retrieve entitlements.
One thing we noticed is that the JS library is huge - about 671 KB.
A few questions came up internally:
-
Is there any way to reduce the bundle size? Maybe a “lite” or “compact” version of the library?
-
Can we safely use the RC REST API directly from the frontend and skip the JS lib?
-
Is it possible to listen to customer info changes same as in RN?
-
From what we understand, RC Web Billing forces you into their billing system for web. Why is this restriction so aggressive? Is there really no way to fetch offerings and use Stripe directly without all the extra complexity?
This has sparked a lot of discussion in our team about whether to keep using RC at all, since the lock-in feels very restrictive. If we start using RC Web Billing, it seems like we couldn’t leave later without interrupting all recurring payments that RC manages.
Would love to hear if others ran into this and how you approached it.
