Message from JavaScript discussions
September 2018
— Breaking things just because
What do u think can happen when u use a ui library with a virtual dom like vue and jquery to do some dom operations together. What kind of bad unexpected side effects can occur.
— Virtual dom is a hype-word
— Any framework is a "switcher", it switches nodes in the DOM tree, new appear, old disappear. when it happens, user should re-bind to new DOM targets, or the lib do nothing or throw errors in console.
— So, i see only one side effect - you work with detached DOM node.
— Https://codesandbox.io/s/mqy3mmznn
— Okay thanks👍
— That's not a side effect :P
— If you do everything absolutly right, side effect doesnt exists🤤
— Ive had some discussion recently.. https://github.com/gkz/LiveScript/issues/1070
— Some time ago I read an article about jsperf not being a reliable way to compare/check js performance.
When I find ill post it here.
— Ye, okay, will be good