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

bug: Store value not updating #572

Open
3 tasks done
ogdakke opened this issue Oct 7, 2024 · 3 comments
Open
3 tasks done

bug: Store value not updating #572

ogdakke opened this issue Oct 7, 2024 · 3 comments
Labels

Comments

@ogdakke
Copy link

ogdakke commented Oct 7, 2024

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

@ionitron-bot ionitron-bot bot added the triage label Oct 7, 2024
@rjborba
Copy link

rjborba commented Oct 31, 2024

I'm facing the same!

@christian-bromann
Copy link
Member

@rjborba thanks for reporting @ogdakke ! @rjborba would you like to give us a hand and help resolve the bug?

@rjborba
Copy link

rjborba commented Nov 5, 2024

Unfortunately right now I do not have time to handle it.

I made a smaller reproducible code though:
https://codesandbox.io/p/devbox/stencil-minimal-reproducible-issue-gc9nxh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants