3 ms·
I don't follow how HTML comes anything close to expressing dynamism, composition, state, Turing completeness, etc. Sure, you can encode whatever you want insid
by yaaang 4y ago
I don't follow how HTML comes anything close to expressing dynamism, composition, state, Turing completeness, etc.
Sure, you can encode whatever you want inside of data attributes, but that's just ignoring the problem. You still have to decide on a language to express all that within your data attributes.
React server components also does not is not trying to serialize this. Quite the opposite. We have an in-depth write up here: https://www.plasmic.app/blog/how-react-server-components-work https://www.plasmic.app/blog/how-react-server-components-wor...
(Sise note: Plasmic's AST is in the open and has an API.)
- Existenceblinks 4y ago> 2. Server serializes root component element to JSON That's what I'm talking about.
- Existenceblinks 4y agoI did a quick dig on Plasmic's AST and not found its spec. Is there a repo for its specification?