3 ms·
True. Then can you suggest a standardized ECMAScript JSX proposal that doesn't turn this into a "children" key on an object? Would you just transform it into an
by 90s_dev 1y ago
True. Then can you suggest a standardized ECMAScript JSX proposal that doesn't turn this into a "children" key on an object? Would you just transform it into an array? ["foo", { bar: qux }, "baz"] ?
- WorldMaker 1y agoThat array does better match the current function parameters, so would be a simpler proposal to existing transpilers.
- 90s_dev 1y agoYeah it seems fine. I wouldn't be strongly opposed to it. Standardization of either is better than nothing.