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

⚛️ Valuehash #187

Merged
merged 34 commits into from
Jun 27, 2022
Merged

⚛️ Valuehash #187

merged 34 commits into from
Jun 27, 2022

Conversation

mk
Copy link
Member

@mk mk commented Jun 22, 2022

Clerk will now treat clojure.core/deref expresssions seperately in the dependency graph and attempt to compute a hash at runtime based on the value of the expression. This lets Clerk see an updated value for these expressions without needing to opt out of Clerk's caching.

In addition, folks can now specify a :nextjournal.clerk/hash-fn that makes the hashing user-extensible. This is considered experimental and subject to change.

CleanShot.2022-06-22.at.09.16.11.mp4

@mk mk merged commit 3c27ad5 into main Jun 27, 2022
@mk mk deleted the valuehash branch June 27, 2022 07:23
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