We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
input
"@marko/run": "^0.4.5", "@marko/run-adapter-node": "^0.1.12", "@marko/runtime-tags": "^0.1.7", "@marko/tags-api-preview": "^0.7.5", "marko": "^5.35.5",
Component views are updated whenever its input is updated, but effects are only run once.
<effect> is re-run when its dependent values change
<effect>
<effect> only runs once
https://markojs.com/playground/#NobwRAdghgtgpmAXGAlhAJnAHgOhlAJwGsB7MAGjAAcoAXACyTAHoBjEmKkiOCWgZ2ZpMufMTKV2fXrSYAeADZxazAG5QFAVzgBeAAzMAfAB0IcgEabatbgAJuAYQUpWRABQBKWyFvqtcWwBqQNsAX0NAgEY5ZktrbhMzVnoUBXRfDW0dP20jMFDycGh4JmTU9DxCUgpqOkZkNg4uHj5BMrTK8RqpWhl5OAAzAbhWWk9vWyl+EiUcBRIAczdjMAB5CAUAT1sCTQh+ewhWOBXyWzQqKxwcuC9Qo1M5dBRVQwBVKnQ6OHSoA4urJN6FAIAs4AcACQgAG0a6ZOChGLPV75AC6QA
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version: 0.7.5
Component views are updated whenever its input is updated, but effects are only run once.
Expected Behavior
<effect>
is re-run when its dependent values changeActual Behavior
<effect>
only runs onceSteps to Reproduce
https://markojs.com/playground/#NobwRAdghgtgpmAXGAlhAJnAHgOhlAJwGsB7MAGjAAcoAXACyTAHoBjEmKkiOCWgZ2ZpMufMTKV2fXrSYAeADZxazAG5QFAVzgBeAAzMAfAB0IcgEabatbgAJuAYQUpWRABQBKWyFvqtcWwBqQNsAX0NAgEY5ZktrbhMzVnoUBXRfDW0dP20jMFDycGh4JmTU9DxCUgpqOkZkNg4uHj5BMrTK8RqpWhl5OAAzAbhWWk9vWyl+EiUcBRIAczdjMAB5CAUAT1sCTQh+ewhWOBXyWzQqKxwcuC9Qo1M5dBRVQwBVKnQ6OHSoA4urJN6FAIAs4AcACQgAG0a6ZOChGLPV75AC6QA
The text was updated successfully, but these errors were encountered: