5 ms·
Right this makes sense, I wonder if it would then be a good idea to abstract html to JSON, making it impossible to include css and js into it
by awei 9mo ago
Right this makes sense, I wonder if it would then be a good idea to abstract html to JSON, making it impossible to include css and js into it
- epec254 9mo agoCurious to learn more what you are thinking? One challenge is you do likely want JS to process/capture the data - for example, taking the data from a form and turning it into json to send back to the agent
- oooyay 9mo agoIf you play with A2UIs generator that's effectively what it does, just layer of abstraction or two above what you're describing.
- awei 9mo agoThat's what I thought too skimming through the documentation, my thinking is that since it does that, which makes sense to avoid script injection, why not do it with "jsonized" html.
- oooyay 9mo agoI was thinking that raw html might be too verbose, but canned components have signatures and types.