nostr-react
nostr-react copied to clipboard
React Hooks for Nostr 🦤
steps to repro render useProfice with public key that has no data, it will spin with no stop
This break react native because it does have a window object defined but doesnt have that method, can we use import { encode as btoa } from 'base-64'; https://github.com/t4t5/nostr-react/blob/aa230629bd97d66d27789833c6c710412729a7e9/src/core.tsx#L182
I was attempting to use the `onEvent` callback of the `useNostrEvents` hook, and ran into an issue where the callback cannot be updated. This was problematic, as my callback depended...
heyhowareya, I am trying to use this library for a [react-native application](https://github.com/bennyhodl/baywallet) but there are packages that have peer dependencies not compatible with react-native. I have forked this library to...
Trying to add to project results in an error. After adding the module via yarn, I am told I don't have loaders I need from only including a symbol from...
Currently, if I want to fetch all notes from a single user starting from the beginning of time, they are streamed from oldest to newest. This can be a problem...
issue: https://github.com/t4t5/nostr-react/issues/20
use useCallback for publish function to avoid re render when not needed.