Skip to content

WIP diffable list experiments #55

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

schickling
Copy link
Collaborator

@schickling schickling commented Mar 17, 2024

Don't merge yet

See internal Notion doc

Goals


PR currently contains 2 experiments:

Manual list maintenance via ReactDOM.createRoot + its-fine

This one uses its-fine to bridge the context between the parent React root and the child React roots (for each list item). While this seems like a promising direction, I've still hit a couple of blockers in regards to React event handling. See:

Video demo: https://share.cleanshot.com/bWjjbZ9x
Example code: https://gist.github.com/schickling/36ef4e37da90145e78d6d17262da8941

Experiment with million

I've also tried to use million for the manual list maintenance but it seems this would require LiveStore app devs to also install the million compiler which is a line I don't want to cross at this point.

This file was certainly very informative.

Copy link

vercel bot commented Mar 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
livestore-example-linearlite ❌ Failed (Inspect) Mar 17, 2024 1:01pm
livestore-example-todomvc ❌ Failed (Inspect) Mar 17, 2024 1:01pm
livestore-example-todomvc-drizzle ❌ Failed (Inspect) Mar 17, 2024 1:01pm

@LarsArtmann
Copy link

See internal Notion doc

Is non public, is this expected?
Screenshot 2025-06-09 at 03 25 26

@schickling schickling marked this pull request as draft June 22, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants