Igor Agapov

Results 2 comments of Igor Agapov

Another solution: ```js Object.keys(nextProps) .filter(isProperty) .filter(wasAdded(prevProps, nextProps)) .forEach((key) => { if (key === 'style' && typeof nextProps[key] === 'object') { Object.assign(node.style, nextProps[key]) } else { node[key] = nextProps[key] } })...

The simplest way to transform JSX to JS using Babel is: ```html // Didact code here ```