nostr-tools helps with some stuff but we made our own nostr websocket framework that plays nice with React and zustand. We leaned heavily into caching and created some nice lambda APIs to handle nostr queries too

Reply to this note

Please Login to reply.

Discussion

wow!

It was a pain to build but looking back it wasn't really that terrible tbh.

The big win is fully understanding what is happening under the hood when the client makes requests to relays. That was a big frustration with every other lib

yea... currently in the middle of that frustration.

well that, and the lack of documentation for basic happy-path stuff, so it's all source-diving and type inspection to get anywhere. which is fine and more ergonomic than having no types, but I wouldn't expect this for the "Dev kit" package