react2angular
react2angular copied to clipboard
Collision of React Props and Angular Component Class Members
If I have a prop with the same name as a class member it will overwrite the class member. For example, if I try to pass a render prop to my React component it will overwrite the render method of the Angular component controller.
Using scope instead of bindings may fix the issue as long as the component lifecycle methods are still invoked.
The $ngChanges lifecycle method doesn't work when using scope 😕.
It's not really necessary to use the conveniences of the NgComponent class with this module. This module could do away with it and properly hide its implementation so it doesn't collide with any Angular bindings.