React documentation says that:
ReactDOM.render() controls the contents of the container node you pass in. Any existing DOM elements inside are replaced when first called.
But in preact the content is not replaced, here is a running example:
same conversation as #1718; preact is not constrained to the ReactDOM.render() api definition and can operate differently. Is that good? in my opinion "no", but there's a history why it's never been the same
Oops, my bad, thanks for link the conversation :wink:
Awesome, thanks for posting 馃憤 We could destroy the DOM just in compat, that sounds easy enough 馃挴
Most helpful comment
Awesome, thanks for posting 馃憤 We could destroy the DOM just in compat, that sounds easy enough 馃挴