milomg / swc-plugin-jsx-dom-expressions

An SWC implementation of the SolidJS Dom Expressions compiler
56 stars 8 forks source link

Style #10

Closed icewind1991 closed 1 year ago

icewind1991 commented 1 year ago

I think only the first commit is required and the second one only optimizes for the case of assigning an object literal

milomg commented 1 year ago

Nice! This looks like a good implementation of the static case for creation (the other cases you can see in the solid playground with size() instead of just size)