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

[materialite] Re-introduce Materialite [1/n] #10

Closed
wants to merge 8 commits into from
Closed

Conversation

tantaman
Copy link
Owner

@tantaman tantaman commented Dec 5, 2023

resurrects: #2

This adds materialite to Repliear.

  1. Uses materialite's useQuery hook for react integration
  2. Takes advantage of sorted sources to speed up filter and order-by changes
  3. Does not yet paginate the view. Entire result set is loaded into the virtual table.
  4. Still emits PersistentTree<Issue> rather than Issue[]

(3) is coming in a follow up but has been implemented in the materialite demo (https://github.com/vlcn-io/materialite/blob/main/demos/react/walkthrough/walkthrough.md)

(4) will follow after (3) as it requires re-working the virtualization. react-window doesn't support the virtualization primitives we need to only keep a slice of the backing data in memory.

@tantaman tantaman changed the title Re-introduce Materialite [materialite] Re-introduce Materialite [1/n] Dec 14, 2023
@tantaman
Copy link
Owner Author

moved to rocicorp#160

@tantaman tantaman closed this Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant