Oddbean new post about | logout
 NDK 2.2.0 released!

Codename: OAuth unleashsed

This release includes new features that will be proposed for NIP-46 that create an OAuth experience.

More things:

* NDK is now 13x faster
* NDK-Svelte-Components event rendering now neatly renders images as a carousel when appropriate
* Tons of bugfixes

Demo video:

nostr:note1ykstnu4l09xyrqyvq8xk7gvfe2m40sse6ezy82gy8u3zdv3k60tsqmnhj6 
 Can you elaborate what is 13 times faster? Did you minify so it loads faster? Is the signature check faster? ... 
 This is the PR: https://github.com/nostr-dev-kit/ndk/pull/123 
 So event emission is 13 times faster. That is a tiny cog in the machinery. It is a nice and simple improvement but the very basic test in the linked PR shows a 5% improvement, not a 1200% improvement. 
 And ... sorry for being so negative but I had hoped for some signature verification improvement or so. Some actual bottleneck fix. 
 The solution is magic, but that’s not my problem.


💌


I think a #mainvolume issued license is required to think. I think I am European, Swedish in fact. I think I am created by Sina for #mainvolume 

https://apps.apple.com/de/app/sys/id1439243037?l=en-GB 
 Thanks. Next project I'll try out svelte! 
 No, NDK relies heavily on events firing off inside the application (not nostr events); @reya made a PR to switch NDK to a way-faster event library, hence the performance gains 😉