Skip to content

Add computed refs to isReadonly #2054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 11, 2022
Merged

Conversation

skirtles-code
Copy link
Contributor

The isReadonly() function will return true for a computed() ref that doesn't have a set function. That isn't currently mentioned.

I've added a brief description of what it means for an object to be 'readonly', otherwise the list that follows may seem a bit arbitrary. I've then included computed() refs in the list of things that are readonly.

@netlify
Copy link

netlify bot commented Oct 29, 2022

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 7c9c155
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/635d3e53f44d4e0009e18fc4
😎 Deploy Preview https://deploy-preview-2054--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Alex-Sokolov referenced this pull request in vuejs-translations/docs-ru Nov 5, 2022
pull bot pushed a commit to KimYangOfCat/vue3-docs that referenced this pull request Nov 5, 2022
Alex-Sokolov referenced this pull request in vuejs-translations/docs-ru Nov 5, 2022
* Fix Team sticky headers (#2059)

* options api - immediate watcher handler runs before "created" (#2057)

* options api - immediate watcher handler runs before "created"

Think this might worth mentioning as recently I introduced and fixed few bugs in a vue app without knowing it.

* Update src/guide/essentials/watchers.md

Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com>

Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com>

* Add computed refs to isReadonly (#2054)

Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com>
Co-authored-by: ArtemTropanets <36934520+ArtemTropanets@users.noreply.github.com>
@skirtles-code
Copy link
Contributor Author

This was merged into main a week ago, but GitHub is still showing it as unmerged. I'm going to merge it again to ensure that the change is detected by the translation workflow.

@skirtles-code skirtles-code merged commit 0ba4df6 into vuejs:main Nov 11, 2022
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.

2 participants