-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Rendering the same content on both server and client causes a loss of events #750
Comments
I'm able to hack around this by either rendering something different after client side has booted. For example, if I add a I'm guessing this is as much snabbdom as cycle/dom? |
Hi @krainboltgreene |
Let me know if I can help with this at all. |
Thanks @krainboltgreene. I think it would help to discover what was the lowest versions of cycle/dom, cycle/run, and cycle/html where the bug happens, and the highest versions of cycle/dom|run|html where the bug does not happen. |
Will do when I get home. |
Any updates on this issue? I would like to solve it (and have some time for solving it) but I need to know first if it's a real issue in the framework. |
The issue is still relevant I create a repo to reproduce the problem |
@Tzelon You have to remove the |
Thanks. |
Snabbdom figures out that the dom did not change and does not rerender |
As I had no issues getting the excellent example of @Tzelon to work and the original repro segfaults, I will close this issue. |
Thanks, @jvanbruegge this solved my issue. |
Yeah, I will update all examples in the next weeks (#802) |
Code to reproduce the issue:
https://github.com/krainboltgreene/deushack
Expected behavior:
If I click on an element I should receive a click event.
Actual behavior:
Nothing happens
Versions of packages used:
Latest
The text was updated successfully, but these errors were encountered: