-
-
Notifications
You must be signed in to change notification settings - Fork 927
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
shouldRecycle
not used in one spot
#1992
Comments
Thanks for the report! At a glance, your analysis seems correct (this example uses a version of Mithril patched according to your suggestion and the problem subsides). But it's getting late, I'll revisit this tomorrow or on monday (if someone else doesn't beat me to it). |
Yup, PR welcome! |
pygy
added a commit
to pygy/mithril.js
that referenced
this issue
Nov 21, 2017
fix MithrilJS#2003 partim 1 fix MithrilJS#1992 partim 1
pygy
added a commit
to pygy/mithril.js
that referenced
this issue
Nov 21, 2017
…with actual fragments (fix MithrilJS#1992 partim 2)
10 tasks
dead-claudia
added a commit
to dead-claudia/mithril.js
that referenced
this issue
Oct 12, 2018
* Fix MithrilJS#1992 * doc in changelog * add test for MithrilJS#1992
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: https://github.com/MithrilJS/mithril.js/blame/8b56c7091169c0fb057d7afac041a23a4700bcdb/render/render.js#L237
Changed in: 632677e#diff-000bdfae56251b0715111d2b18c9de3cR200
From the other changes in that commit, it looks like the line after should use
shouldRecycle
instead ofrecycling
.This "bug" causes components to get
oninit
'ed unnecessarily: see https://jsfiddle.net/3hnjft4u:I'd gladly make a PR for this.
The text was updated successfully, but these errors were encountered: