4 ms·
Yes, by getters I was trying to refer to these wrappers. const valueGetter = () => props.value;
by javitury 5y ago
Yes, by getters I was trying to refer to these wrappers.
const valueGetter = () => props.value;
- ryansolid 5y agoIt's a fair question. Pre React Hooks I expected the proxy plain object approach to be more common. We definitely want consistency regardless if component consumer passes signal or literal, so I went that way. There are cases like with spreads where they are actual proxies too. But probably could have made all props are functions work and have them work with combination of proxies as well things just didn't play out that way.