Replying to Avatar So Tachi

Sneak preview for the new nostr:nprofile1qqs8wfkyxlx00y0kmmvhmwkps3hxyqv7t77jfapwnke0vs8jx8pupxsx8yfv2

All the Nostr logic has been moved to a web-worker and rewritten in go-wasm.

The UI thread only job is to render what the worker is sending it, notes that are already parsed, filtered, decoded etc...

The web worker is acting like a local server.

https://video.nostr.build/116ce3db565aa08bd7d37cbc1a836e8240e93bbb34cf07fec533f4fd2c5f6461.mp4

Using web workers is a game changer.

Reply to this note

Please Login to reply.

Discussion

Combining it with wasm does increase the app speed and smoothness dramatically, both are underused in web dev today

Music to my ears❤️