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

state function is triggered twice #1030

Closed
smonkey72 opened this issue Oct 30, 2017 · 1 comment · Fixed by #1034
Closed

state function is triggered twice #1030

smonkey72 opened this issue Oct 30, 2017 · 1 comment · Fixed by #1034
Labels
enhancement New feature or request

Comments

@smonkey72
Copy link

Version

3.0.0 and earlier

Reproduction link

https://codepen.io/anon/pen/RjNgoM

Steps to reproduce

  1. open codepen
  2. open / read console

What is expected?

state() is triggered once

What is actually happening?

state() is triggered twice


Codepen is forked from https://codepen.io/royportas/pen/ENEELJ

@LinusBorg LinusBorg added the enhancement New feature or request label Oct 30, 2017
@LinusBorg
Copy link
Member

Hi, thanks for reporting.

It seems this can indeed be optimized, thanks!

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

Successfully merging a pull request may close this issue.

2 participants