Y
Hacker News
new
|
ask
|
show
|
jobs
by
floydnoel
2143 days ago
I, too, find it ridiculous to repeat `foo={foo}` over and over again. So I use the spread operator with ES6 shorthand object syntax. Now it’s `{...{ foo }}`. No breaking changes needed!