Closed hecrj closed 6 years ago
Using innerHtml can conflict with the virtual-dom diffing algorithm, causing a crash, as seen here: https://ellie-app.com/9Kbn9hPFha1/1
innerHtml
This was mentioned some time ago here: https://github.com/elm-lang/html/issues/56#issuecomment-235524657
Maybe innerHtml should be removed?
For anyone needing a temporary workaround, it is possible to mitigate this problem, at least in many cases, by using ‘keyed’ nodes to give the virtual DOM a hint.
Closing this. innerHtml is forbidden in Elm 0.19.
Using
innerHtml
can conflict with the virtual-dom diffing algorithm, causing a crash, as seen here: https://ellie-app.com/9Kbn9hPFha1/1This was mentioned some time ago here: https://github.com/elm-lang/html/issues/56#issuecomment-235524657
Maybe
innerHtml
should be removed?