Providing this was necessary during some painful email developments because:
- some styles only work inline
- some styles only work inline on immediate element
This function is to be used as such:
// inside a component, grabbing `children` from the props:
<div>
{applyRecursiveProps(children, { style: {color: 'blue'} })}
</div>
Continue reading