News for hackers. Stuff that matters.
Re:Asm-Dom – WebAssembly Virtual DOM by rictic on Saturday May 20, 2017 @09:44PM (#14385321)
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">

Re:Asm-Dom – WebAssembly Virtual DOM by ojr on Saturday May 20, 2017 @11:44PM (#14385608)
in react, styles can be just another variable in the component model/props

<div style={{ fontWeight: 'normal', fontStyle: 'italic' }}/>