Skip to content

Conversation

nathsimpson
Copy link

No description provided.

@nathsimpson nathsimpson requested a review from emmatown February 17, 2021 21:41
{
"name": "@magical-forms/react",
"version": "0.2.3",
"version": "0.3.0",
Copy link
Member

Choose a reason for hiding this comment

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

Don't change this. You need a changeset

},
stateFromChange: (changed, current) => {
if (changed.value === "something") {
stateFromChange: (current, next) => {
Copy link
Member

Choose a reason for hiding this comment

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

It looks like I messed up stateFromChange a bit, it should be the next state as the first arg and the prev state as the second arg. It looks like object stateFromChange is being called with args in the right order but has the wrong names in the types and scalar stateFromChange is called in the wrong order and has the right names for that wrong order(so the names need to be changed too). Could you fix that?

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.

2 participants