Skip to content

Comments

fix: support [email protected]#63

Merged
charkour merged 1 commit intocharkour:mainfrom
BrunnerLivio:fix/zustand-support-4.3.x
Jan 11, 2023
Merged

fix: support [email protected]#63
charkour merged 1 commit intocharkour:mainfrom
BrunnerLivio:fix/zustand-support-4.3.x

Conversation

@BrunnerLivio
Copy link
Contributor

@BrunnerLivio BrunnerLivio commented Jan 10, 2023

fixes #62

I am honestly new to Zundo (I just downloaded it 1 hour ago) and also not really an expert when it comes to Zustand as well 😅
The changelogs are quite insightful if you wanna double check things. Though really unexpected changes for a supposedly "minor" release...

I was able to make the tests all green without major modifications and I quickly double checked whether it works in my application via npm link and it works all fine. Though I use Zundo in its most basic form so maybe you need to double check the more advanced usecase of this lib

@BrunnerLivio BrunnerLivio force-pushed the fix/zustand-support-4.3.x branch from 5f253bf to ebe1f18 Compare January 10, 2023 20:21
@charkour charkour self-requested a review January 10, 2023 20:40
@charkour
Copy link
Owner

I'll get to this in about 3 hours. Thank you so much for the PR!

config: StateCreator<TState, [], []>,
options: ZundoOptions<TState>,
) => PopArgument<StateCreator<TState, [], []>>;
) => StateCreator<TState, [], []>;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain this change here?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see here that this is actually not needed. Thanks!

pmndrs/zustand#1373

Copy link
Owner

@charkour charkour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the fix! Wasn't expecting zustand v4.3.0 to break this much

@charkour charkour merged commit 0eb3205 into charkour:main Jan 11, 2023
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.

[email protected] incompatible with [email protected]

2 participants