Uncaught Error: The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.
---
Disgruntled Old Man Me:
Back in my day the only property that any attribute would take is a string.
---
and for fun, this is the line of code that threw the error:
<div style="margin: 0 auto;">
and what it wants me to do is:
<div style={{margin: "0 auto"}}>
re:REACT DON'T DO IT
@codesections i'm waiting on the equivalent of XHTML 1.0 Validator Badges but for TypeScript before migrating 😂