mirror of
https://github.com/archtechx/alpine-reactive.git
synced 2025-12-12 00:14:03 +00:00
Better check for isReactiveProxy()
This commit is contained in:
parent
c217094ee1
commit
bb1d2b0967
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export function ref(value) {
|
|||
}
|
||||
|
||||
export function isReactiveProxy(proxy) {
|
||||
return proxy && proxy.__alpine_componentEls !== undefined
|
||||
return proxy && typeof proxy.__alpine_componentEls === 'array'
|
||||
}
|
||||
|
||||
export function reactive(value, componentEl = null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue