4 ms·
If you're doing inline styles, the former is how the style is expressed to the style engine isn't it? i.e. <div style="font-weight: normal; font-style: italic"
by rictic 9y ago
If you're doing inline styles, the former is how the style is expressed to the style engine isn't it? i.e.
<div style="font-weight: normal; font-style: italic">
- ojr 9y agoin react, styles can be just another variable in the component model/props <div style={{ fontWeight: 'normal', fontStyle: 'italic' }}/>