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

Reduce number of database reads #45

Open
DevlinRocha opened this issue Nov 3, 2022 · 0 comments
Open

Reduce number of database reads #45

DevlinRocha opened this issue Nov 3, 2022 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@DevlinRocha
Copy link
Owner

DevlinRocha commented Nov 3, 2022

  • Store chat messages in state upon initial server load
  • Paginate chat messages so that only most recent load unless user scrolls to load older messages
  • Look into implementing React Query
    • Cache data such as messages, members, etc.
    • Paginate responses and display as infinite scroll
@DevlinRocha DevlinRocha added the enhancement New feature or request label Nov 3, 2022
@DevlinRocha DevlinRocha self-assigned this Nov 3, 2022
@DevlinRocha DevlinRocha added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Dec 30, 2022
@DevlinRocha DevlinRocha removed their assignment Dec 30, 2022
@DevlinRocha DevlinRocha self-assigned this Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant