Translates the attributes of a DOM element into attributes that can be understood by React. Currently not comprehensive, we will add special cases as they become relevant.
A DOM element
An optional list of attribute names to ignore
Optional
An object with key:value pairs that are the React-friendly translation of elem's attributes
Translates the attributes of a DOM element into attributes that can be understood by React. Currently not comprehensive, we will add special cases as they become relevant.