4 ms·
There is a practical limit on how many arguments can be passed to a spread parameter. I tested at 125k in Chrome just now. That's probably a couple orders magn
by tln 6y ago
There is a practical limit on how many arguments can be passed to a spread parameter. I tested at 125k in Chrome just now.
That's probably a couple orders magnitude more than a typical web page, let alone one parent node, but maybe that's part of why the change was made?
- lucideer 6y agoIf that was the reason behind the change, changing the signature to strictly be `_jsx(name, attrs, children)` would've made more sense. I also didn't see this reasoning stated in the RFC thread.