emergence.js icon indicating copy to clipboard operation
emergence.js copied to clipboard

DOM re-render implications?

Open crazy4groovy opened this issue 8 years ago • 1 comments
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?

crazy4groovy avatar Nov 10 '17 16:11 crazy4groovy

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?

alexgurr avatar Nov 12 '17 16:11 alexgurr