Full Upgrade for CanJS@4
·
22 commits
to master
since this release
Fixes for CanJS 4 (#22)
- Update tests to test inserting the components on the page instead of using ReactTestUtils (thanks @ivospinheiro)
- on createComponent ref callback get the component viewModel from the element using can-symbol can.viewModel an assign the react props to viewModel (thanks @ivospinheiro)
- remove can-define from tests; use can-component builtins instead
- use can-reflect to modify viewmodel instance