4 ms·
> you’re manipulating lightweight structs that are rendered into heavyweight views by the system Yes, and I’m arguing that not exposing the ‘heavyweight views’
by pcr910303 4y ago
> you’re manipulating lightweight structs that are rendered into heavyweight views by the system
Yes, and I’m arguing that not exposing the ‘heavyweight views’ to the programmers at all is a mistake.
- eunoia 4y agoYup, and my understanding of the problem is that if you expose the heavy weight views to the state layer (structs) and allow direct manipulation, render calls lose incompetency, the structs are no longer the source of state truth and the whole abstraction gets terribly leaky. Edit: once again I think it’s important to look at the limitations and advantages of prior work in this area and I believe React refs to be a good case study in that.
- eunoia 4y agoOops autocomplete. Incompetency should be idempotency.