Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random thoughts from v1 #2

Open
chmac opened this issue Jan 9, 2023 · 0 comments
Open

Random thoughts from v1 #2

chmac opened this issue Jan 9, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@chmac
Copy link
Member

chmac commented Jan 9, 2023

The prototype works. At least, you can publish a profile and some info. It doesn't have private messages. They would be next. But the underlying code already exists in nostr-tools for encrypting messages.

  • How do we handle the async data flows?
    • Redux?
    • Sagas?
    • Thunks?
  • Do we store data somewhere?
  • Do we keep subscriptions open? There's no clear need to unsubscribe.
    • But how do we feed data into React in that case?
  • Write a nostr-redux layer?
    • Dispatch actions, get data from nostr, fill redux
    • Is using the browser storage more idiomatic?
  • Do we cache data in browser storage?
    • Relays seem to be pretty quick so far, maybe simplest to leave this alone for now
@chmac chmac self-assigned this Jan 9, 2023
@guaka guaka added the documentation Improvements or additions to documentation label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants