Stencil version:
@stencil/[email protected]
I'm submitting a:
[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
If multiple props are changed on a component, only one of the props have changed to the new value when componentWillUpdate is called, making calculations based on all the props impossible
Expected behavior:
When componentWillUpdate is called, all props on the component should have the new values
Steps to reproduce:
Working example available in this repo
https://github.com/jgroth/stencil-bug
I can confirm this bug. To be honest, I was quite surprised to see this in version 1.x 馃槴
It should be fixed in https://github.com/ionic-team/stencil/commit/8302fed01b13b18436dc1a8d6bde231643f8f448
@manucorporat Great to hear! Thanks a lot!
It should be fixed in 8302fed
鈥hich is in v1.13.0-3, so should be in release 1.13.0 once that's available. For anyone who comes after me, so they don't also have to go looking 馃槉
Most helpful comment
It should be fixed in https://github.com/ionic-team/stencil/commit/8302fed01b13b18436dc1a8d6bde231643f8f448