by Cafey · 10y ago · 0 comments
This is certainly not a replacement.
Regardless of which library you use there is nothing preventing you from injecting DOM elements from everywhere. Only discipline can prevent that.
Event system is already supported by DOM. React doesn't add anything there. Component lifecycle is also not compelling.
React doesn't require you to ever manually replace a component - that's why the two are not comparable.