dackerman / reflex-jsx

Use jsx-like syntax in Reflex
BSD 3-Clause "New" or "Revised" License
50 stars 7 forks source link

Allow extra parameters when splicing #6

Open nmattia opened 7 years ago

nmattia commented 7 years ago

It would be nice to be able to write the following:

<div class="a-class" {...dynAttrs}> ... </div>

It could be done such that in the above case a-class would have priority over a class defined by dynAttrs whereas in

<div {...dynAttrs} class="a-class"> ... </div>

a class defined by dynAttrs would take over.