Open Lioncat2002 opened 1 year ago
change function: updateDom add this code
const styleObj = newProps.style || {}
Object.keys(styleObj).forEach((key) => (dom.style[key] = styleObj[key]))
and change function : isProperty const isProperty = (key) => key !== 'children' && !isEvent(key) && key !== 'style'
How do I handle inline styling? currently something like
gets converted to