Closed gruhn closed 4 months ago
Name | Link |
---|---|
Latest commit | 91b6eeda390654a69c9cf4026e6d4377210b29cc |
Latest deploy log | https://app.netlify.com/sites/vue-qrcode-reader/deploys/65ce556b45c27b0008df9ad6 |
Deploy Preview | https://deploy-preview-419--vue-qrcode-reader.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
:tada: This PR is included in version 5.5.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Props like
constraints
andformats
which carry non-primitive values might receive structurally equal updates. For example, letconstraints
be the variable that is passed toQrcodeStream
:and imagine the
script
section looks like this:This would keep triggering updates in
QrcodeStream
although the constraints don't actually change. This is because the assigned object is referencially different every time and Vue only checks referencial equality. A less contrived example where this happens, is when the template looks like this:Whenever Vue re-evaluates the passed object it creates a referencially different copy. To avoid this problem we now maintain "cached" versions of these props and only update them when we detect strucural changes.