NDK is a stateless library by nature so we need to do extra stuff to handle states on our applications. addressing this issue we have a wrapper library around NDK which is called Nostr-Hooks, it's a stateful library for developing React applications on Nostr.