Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(get): reactivity on proxy objects #36

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Commits on Aug 22, 2024

  1. fix(get): reactivity on proxy objects

    Fixes #34
    
    This is a backport of the change from the 2.x version. Thanks to @Tofandel for reporting the issue.
    
    We simply just added a condition to the reduce code to actually touch the objects instead of only checking the path existence via the `hasOwnProperty` call.
    
    This enables frameworks like Vue to properly track the reactivity on return values again.
    saibotk committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    e921fc8 View commit details
    Browse the repository at this point in the history