jridgewell / babel-plugin-transform-incremental-dom

Turn JSX into IncrementalDOM
MIT License
144 stars 12 forks source link

Hoist eagerly-declared statics with a variable key #30

Closed jridgewell closed 9 years ago

jridgewell commented 9 years ago

Following the discussions in google/incremental-dom#150, it's best to hoist static attributes even if they are eagerly evaluating and contain a variable key.

To accomplish this, we now push the variable key to the dynamic attributes array.

jridgewell commented 9 years ago

Ping @thejameskyle, mind taking a look?

jamiebuilds commented 9 years ago

Looks good