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

wip(zero-client): Immutable apply change #3688

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

Conversation

arv
Copy link
Contributor

@arv arv commented Feb 3, 2025

This is an old branch that I had that changes applyChange to treat the data as immutable and it copies the minimal amount of objects to create a new object.

It has bit rotted a bit but the goal is to remove the deepClone which was initially only used in React but now it is used in Solid too. Doing a deepClone copies everything. This branch only copies the objects that change.

@arv arv requested a review from grgbkr February 3, 2025 10:37
Copy link

vercel bot commented Feb 3, 2025

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

Name Status Preview Comments Updated (UTC)
replicache-docs ❌ Failed (Inspect) Feb 3, 2025 10:37am
zbugs ❌ Failed (Inspect) Feb 3, 2025 10:37am

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