alpinejs / alpine

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

Setting Single-value stores to 'null' breaks Alpine #4082

Closed colinaut closed 8 months ago

colinaut commented 8 months ago

Discussed in https://github.com/alpinejs/alpine/discussions/3204

Originally posted by **colinaut** October 10, 2022 Found out that if I set a [Single-value stores](https://alpinejs.dev/magics/store#single-value-stores) to `null` it breaks everything and gives the following error: ``` null is not an object (evaluating 'Object.getOwnPropertyDescriptors(obj)') ```
joshhanley commented 8 months ago

This issue has been closed as we are now using discussions to track bugs and ideas, and as there is already a discussion open we will continue investigating in that discussion. See this announcement for more details https://github.com/alpinejs/alpine/discussions/1423