You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside _passAttributesAsProps() there is a check to ensure that the DOM node that is being updated does not have style, class or key attributes. This code will throw if any of these attributes are found.
This assumes that the application is the only code that is writing to the DOM. In practice, many browser extensions will also mutate the DOM. This will cause angular-react to throw and break the application.
This check should be, at most, a warning in production code.
Inside
_passAttributesAsProps()
there is a check to ensure that the DOM node that is being updated does not havestyle
,class
orkey
attributes. This code will throw if any of these attributes are found.This assumes that the application is the only code that is writing to the DOM. In practice, many browser extensions will also mutate the DOM. This will cause angular-react to throw and break the application.
This check should be, at most, a warning in production code.
Test case
Run this code in console.
The next time that the Angular component is re-rendered, it will throw and break the application.
The text was updated successfully, but these errors were encountered: