emergence.js
emergence.js copied to clipboard
DOM re-render implications?
trafficstars
How does this lib function with libs like React, which might re-render an element under the hood? Would .engage() need to be called again?
I've built a react version/wrapper for this. There doesn't seem to be any implications with re-rendering - behaviour is as expected.
Not quite finished, but it'll be on NPM when it's done: https://github.com/alexgurr/react-emergence
@xtianmiller I wouldn't mind you taking a look, seeing what you think?