The vanilla alternative for writing JSX-based React applications
git clone git://soophie.de/figure
255
}256
}257
}258
const propsMatch = /^\$props$/.exec(attr);259
if (propsMatch) {260
// bind all props which are passed to $props261
for (const [key, prop] of Object.entries(value)) {262
props[key] = prop;263
}264
}265
props[attr] = value instanceof Array ? value.join('') : value;266
}267
const children = /** @type {ReactElement[]} */ ([]);