Dominic Gannaway
Dominic Gannaway
Wouldn't the better output be? ```js !function(){console.log(obj.foo)}() ``` That would be more along the lines of what Closure Compiler does but it would be awesome if butternut could too :)
@Rich-Harris could removing unused identifiers in objects cause performance deopts due to monomorphism?
@Rich-Harris I thought you meant you'd remove `bar` from the destructured object, I guess you just meant the alias to `b` would be removed?
@Rich-Harris That's what I originally meant, I'm not sure either – I thought it may have had an affect. I'll probably do some benchmarks on that actually sometime, I'm interested...
@sebmarkbage any updates?
I'd be interested to see how Inferno performs with framework7. This is also coming from a member of the React core team too. Diversity in implementation and experimentation is a...
@thysultan Older versions of Inferno had something similar to this in regards to `Promise` support. The issue is that Promises can't resolve sync, and it lead to UIs breaking when...
@thysultan That's the point though. Those heuristics are not right, `componentWillUnmount` is a sync event and making it async in React causes the world to blow up in many apps....
It was done this way originally to make the developer aware of the difference. It originally was `event` first but people kept using `this` to try and access the object....
@Havunen this is now a possibility again with our new event system.