alpinejs / alpine

A rugged, minimal framework for composing JavaScript behavior in your markup.
https://alpinejs.dev
MIT License
27.92k stars 1.22k forks source link

:bug: Fixes issue with setters accessing deeply nested data #4265

Closed ekwoka closed 2 months ago

ekwoka commented 3 months ago

Solves an issue presented in Discord

Apparently there is an upstream bug in @vue/reactivity that, when using a setter to access deeply nested data on a part of this that was not in the same object, would error out. As vue was not respecting the this context when using reflection.

I intend to make a PR there to address this as well, but Alpine is broken by even updating one minor version, so this still needs to be addressed here.

The issue can be demonstrated here:

3.13.0

3.13.1

😞

calebporzio commented 2 months ago

Ooof, this is great stuff, thank you @ekwoka