Remix.run Logo
evelant 9 hours ago

Yes! I (experimentally) compiled and packaged it for react-native. Postgres on iOS and Android https://github.com/electric-sql/pglite/pull/774

samwillis 9 hours ago | parent | next [-]

This is such awesome work! We *are* going to get this integrated with the ongoing work for "libpglite".

patwolf 9 hours ago | parent | prev [-]

Glad to see it working in react native. It always surprises me that RN doesn't natively support wasm. I've had to avoid other wasm-based libraries, like loro, for that reason.

evelant 8 hours ago | parent [-]

Yeah, it's unfortunate but it's not really react-native/facebook's fault. Apple doesn't allow any sort of JIT to run on iOS outside of their builtin webkit js engine. That means that AFAIK there's no way to run wasm at reasonable speed on iOS, which means react-native can't really support wasm.