s must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />˜