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

switch config for better types and save bytes #83

Merged
merged 7 commits into from
Apr 22, 2023
Merged

Conversation

charkour
Copy link
Owner

@charkour charkour commented Apr 16, 2023

more efficiencies

868 B --> 862 B (save 4 bytes) Inline setters in index.ts
862 B --> 859 B (save 3 bytes) return a configWithTemporal object to remove _store
859 --> 855 B (save 4 bytes) assign to property rather than create variable in index.ts
855 --> 854 B (save 1 byte) remove curried zustand create in zundo.ts
853 --> 847 B (save 6 bytes) rename __handleUserSet to __handleSet

Base automatically changed from shave-internals to main April 22, 2023 21:37
@charkour charkour merged commit 0d9e83d into main Apr 22, 2023
@charkour charkour deleted the shave-config branch April 22, 2023 22:09
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