Closed sukazavr closed 8 years ago
Any chance you could provide a code sample for the first issue? There are a lot of tests that render multiple times so that shouldn't be the problem.
Is it just that it's not replacing the existing content on the first render?
Oh... I created a simplified test stand and then i saw disappearance of the problem :-) Now, I don't understand what happened. Let me look around. I'll write.
I think I know. This can happen when there's a JS error that stops deku from finishing up the DOM update process... you might have missed it in your logs. deku will append a new node and remove the old one, but if the process was halted you'll see two of the same node.
oops... I just encountered this, and without errors, too. I can't quite make a reduced test case right now, though.
I did not understand what happened, but in the v2.0.0-rc6 version the behaviour is not repeated :-)
After re-render render method appends new tree in to the existent DOM.
Before and after example:
Also render method on first call doesn't replace inner content in the entry element.
Before and after example: