News for hackers. Stuff that matters.
Re:Solidjs – JavaScript UI Library by ryansolid on Tuesday November 30, 2021 @02:21AM (#29389789)
Props are getters. They are shallow. It are stores that are actual ES proxies.

I think the term is used loosely here to suggest that they are wrappers on top of objects. It isn't so much about the specifics but to explain why destructuring should be avoided.

Re:Solidjs – JavaScript UI Library by javitury on Tuesday November 30, 2021 @03:15AM (#29390044)
Yes, by getters I was trying to refer to these wrappers.

  const valueGetter = () => props.value;
Re:Solidjs – JavaScript UI Library by ryansolid on Tuesday November 30, 2021 @03:44AM (#29390199)
It'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.