What is Nostr?
Egge /
npub1mhc…c226
2024-08-08 16:32:07
in reply to nevent1q…fejf

Egge on Nostr: Yes I did. And yes I did. React Native is ALOT slower than native. However: - ...

Yes I did. And yes I did. React Native is ALOT slower than native. However:
- Depending on the use case this is actually not an issue
- You can always outsource very heavy-duty work to native modules that run outside the JS thread.
- React Native runs two seperate threads by default; JS and UI. For example a loading spinner can still run smoothly while the JS thread does heavy work in the background.

With Current we pushed an JS only app to the limits. Handling hundreds of nostr events, parsing them and rendering UI components from them really was difficult, but it ran smoothly on most devices.

I would not recommend running POW in a react native app without using native modules
Author Public Key
npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226