Replies: 1 comment
-
I think a better approach would be to use events instead of directly updating the value. https://github.com/magewirephp/magewire/blob/main/docs/Features.md#browser-events |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I started to check this module and works great.
However i have problem when updating value from javascript.
My simple counter looks like this
after in js file
I see Current count proper value. However when it runs
ounterComponent.set('count', 300)
it fails to 404https://app.magewire.test/magewire/undefined/livewire/message/counter
When i put component inside setTimeout
Beta Was this translation helpful? Give feedback.
All reactions