Skip to content

Ensure values are refs#1276

Merged
royduin merged 2 commits into
masterfrom
bugfix/reactivity
May 6, 2026
Merged

Ensure values are refs#1276
royduin merged 2 commits into
masterfrom
bugfix/reactivity

Conversation

@indykoning
Copy link
Copy Markdown
Member

This pr fixes the reactivity by wrapping primitive types in a ref.

@indykoning indykoning requested a review from royduin as a code owner May 4, 2026 14:51
Comment thread resources/js/package.js

watch(fetchCount, function (count) {
app.config.globalProperties.loading = count > 0
app.config.globalProperties.loading.value = count > 0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this .value needed anywhere else? Or is this the only one?

@royduin royduin merged commit 4bcda6d into master May 6, 2026
13 of 15 checks passed
@royduin royduin deleted the bugfix/reactivity branch May 6, 2026 08:19
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.

3 participants