Skip to content

Comments

switch config for better types and save bytes#83

Merged
charkour merged 7 commits intomainfrom
shave-config
Apr 22, 2023
Merged

switch config for better types and save bytes#83
charkour merged 7 commits intomainfrom
shave-config

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