Quick Vue tip: lifecycle methods update
& beforeUpdate
will not be called if the props that changed for a component aren’t being used to render. In my case, I was using a prop not used by the render method to trigger some side effect, and couldn’t get the callback to trigger the side effect. Use this.$watch
to watch prop changes unrelated to a Vue component’s rendering.
TC39: Rest/Spread to Stage 4, debating semicolons, and other proposals
Update: All of the Stage 3 proposals below have advanced to Stage 4! 🎉 This week, the TC39, the standards body behind the JavaScript language, will be meeting at Google this week, January 23-25, for their first meeting of 2018. They’ll be discussing several proposals to add new features to ECMAScript, the JavaScript standard. Their […]
Read more