jridgewell / babel-plugin-transform-incremental-dom

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

Create a spreadAttribute runtime function #59

Closed jridgewell closed 7 years ago

jridgewell commented 8 years ago

This reduced the number of required runtime functions from 5 to 3, removing the two “sub helpers” attr and forOwn. It’s not really up to me how you write those functions, and using spreadAttribute exposes the core need instead of depending on the two.

This is a breaking change.