I had to debug code like that the other day. Before you debug it you have to mentally grok wtf is going on. What a mess.
Is the denial of service attack on DNS servers still going on? Major sites are still much slower than last week.
const Header = ({ children, iconName, iconSize, title }) => { ... }; Once you get used to the destructuring parameter idiom, sure. It also conveys more information. But that statement is overloaded in that it makes use…
I agree that object destructuring makes the code far less readable. Array destructuring however is easy for anyone to grok.
buble is a good alternative - small and fast. Doesn't support all of ES2015, but it does support the examples in the article. https://buble.surge.sh/guide/
I had to debug code like that the other day. Before you debug it you have to mentally grok wtf is going on. What a mess.
Is the denial of service attack on DNS servers still going on? Major sites are still much slower than last week.
const Header = ({ children, iconName, iconSize, title }) => { ... }; Once you get used to the destructuring parameter idiom, sure. It also conveys more information. But that statement is overloaded in that it makes use…
I agree that object destructuring makes the code far less readable. Array destructuring however is easy for anyone to grok.
buble is a good alternative - small and fast. Doesn't support all of ES2015, but it does support the examples in the article. https://buble.surge.sh/guide/