Skip to content

bug: Store value not updating #572

@ogdakke

Description

@ogdakke

Prerequisites

Stencil Store Version

2.0.16

Stencil Version

4.22.0

Current Behavior

updating state by doing state.someValue = value does not trigger the proxy object to update its values.
Am I missing something obvious here?

Expected Behavior

updating a value in state by setting the value should update the state.

Steps to Reproduce

setup stencil store and update a value in state in a click handler

Code Reproduction URL

https://stackblitz.com/edit/vitejs-vite-rokx7p?file=src%2Fcomponents%2Fapp-shell%2Fapp-shell.tsx

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: ValidatedThis PR or Issue is verified to be a bug within Stencil StoreHelp Wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions