We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://jsfiddle.net/bqct135h/
isReadonly(ref([])) // true
But it should be false: SFC Playground
The text was updated successfully, but these errors were encountered:
readonly() is provided as API alignment with Vue 3 on type-level only. Use isReadonly() on it or it's properties can not be guaranteed.
readonly()
isReadonly()
In @vue/composition-api, Use isReadonly() always return true for reactive object , because:
@vue/composition-api
export function createRef<T>(options: RefOption<T>, readonly = false) { const r = new RefImpl<T>(options) const sealed = Object.seal(r) readonlySet.set(sealed, true) // always trigger return sealed }
Sorry, something went wrong.
d3c456a
No branches or pull requests
See https://jsfiddle.net/bqct135h/
But it should be false: SFC Playground
The text was updated successfully, but these errors were encountered: