Skip to content

Fix vue hook private member error.#529

Merged
lucksus merged 2 commits intocoasys:devfrom
saul-jb:fix/vue-use-subjects
Nov 29, 2024
Merged

Fix vue hook private member error.#529
lucksus merged 2 commits intocoasys:devfrom
saul-jb:fix/vue-use-subjects

Conversation

@saul-jb
Copy link
Contributor

@saul-jb saul-jb commented Nov 25, 2024

This PR switches the ref wrapper on perspective for shallowRef to fix the following error:

Cannot read private member from an object whose class did not declare it

The perspective class contains private members and therefore requires shallowRef to be used to prevent vue from trying to make methods that use them reactive.

@lucksus lucksus merged commit 0e3e0b5 into coasys:dev Nov 29, 2024
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