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
ratom update within render function does not cause a re-render #552
Comments
I tried using this component in a project, and I'm seeing |
If I run the code which @john-shaffer provided as is (reproduced here for clarity)...
...I get It may help to share that if I run the following modified code...
...I get Note that the difference merely involves using the |
Reagent version: 1.1.0
Repro:
Expected: Component renders at least twice and results in
[:div "{:versions 1} {:versions: 1}"]
.Actual: Component renders once and results in in
[:div "nil {:versions 1}"]
(unless something else causes a render).The text was updated successfully, but these errors were encountered: