mirror of
https://github.com/appy-one/acebase-core.git
synced 2026-05-24 22:01:23 -06:00
[GH-ISSUE #4] Proxy array.forEach iterates over unproxied values #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-core#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @appy-one on GitHub (Mar 4, 2021).
Original GitHub issue: https://github.com/appy-one/acebase-core/issues/4
Originally assigned to: @appy-one on GitHub.
When using a live data proxy, forEach on an array value will iterate over the underlying (unproxied) values, which is unexpected behaviour.
Example:
@appy-one commented on GitHub (Mar 8, 2021):
This also applies to array methods like
every,some,filter,map,reduce,findetc.Example,
array.findreturns unproxied value:@appy-one commented on GitHub (Mar 9, 2021):
Released fixes and additions in acebase-core v1.2.0