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

Local change is not updating in the counter example #438

Closed
chacha912 opened this issue Jan 18, 2023 · 0 comments · Fixed by #441
Closed

Local change is not updating in the counter example #438

chacha912 opened this issue Jan 18, 2023 · 0 comments · Fixed by #441
Labels
bug 🐞 Something isn't working

Comments

@chacha912
Copy link
Contributor

What happened:

Local change is not updated in the counter example.

counter

What you expected to happen:

When the increment button is clicked, the counter value should also update on the local.

How to reproduce it (as minimally and precisely as possible):

  1. Run npm run dev and open http://localhost:9000/counter.html in your browser
  2. Click + button to increment the counter
  3. The changes are applied to both the local and remote
    -> currently, the doc.getRoot().counter value does not change on the local
  4. Refreshing will update the counter value as expected.

Anything else we need to know?:

Environment:

  • Operating system:
  • Browser and version:
  • Yorkie version (use yorkie version): 0.2.20
  • Yorkie JS SDK version: 0.2.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants