3 ms·
> It's really satisfying to hammer out some props and see a component come to life, especially when you've got hot module replacement working. Can you just us
by tuan 3y ago
> It's really satisfying to hammer out some props and see a component come to life, especially when you've got hot module replacement working.
Can you just use inline style in this case ?
- bsimpson 3y agoIt sounds silly, but it feels much nicer to skip the `style = {{}}`. Plus, they all get their own class names, so it's a bit more efficient than the naked style prop, and if you edit one in DevTools, all its siblings are updated to match.