you don't have to filter the events by yourself. just use a separate useSubscribe hook for each filter that you want.
use one hook for kind 0 for example and another for kind 3
the library will do the rest for you.
you don't have to filter the events by yourself. just use a separate useSubscribe hook for each filter that you want.
use one hook for kind 0 for example and another for kind 3
the library will do the rest for you.
Hm, I see your point, but what if I want to fetch a particular note? I still need to collect all the notes then select the one I want on my side?