Skip to content

Conversation

@lmiller1990
Copy link
Member

@lmiller1990 lmiller1990 commented Apr 10, 2020

Covers all test cases from beta, and a number of bugs, (eg setProps and watch was buggy; now it is not).

props[k] = v
}

return app.$nextTick()
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

src/mount.ts Outdated
const app = vm.mount(el)

return createWrapper(app, events)
return {
Copy link
Member

Choose a reason for hiding this comment

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

Why not

const wrapper = createWrapper(app, events)
wrapper.setProps = setProps

return wrapper

Copy link
Member Author

Choose a reason for hiding this comment

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

it works

I was too far down the rabbit hole to see the top 😆

@lmiller1990 lmiller1990 changed the title Proof of concept: setProps setProps Apr 10, 2020
@lmiller1990 lmiller1990 merged commit e730945 into master Apr 11, 2020
@lmiller1990 lmiller1990 deleted the lachlan/poc-set-props branch April 11, 2020 13:35
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.

6 participants