Skip to content

Web Components hypothesis #4

@tucnak

Description

@tucnak

I chose to use Svelte for this project.

Much can be said about the unreasonable efficiency of dramatic writing as a UI/UX paradigm.

In the recent years, many chat interfaces have been created to accommodate LLM's, RAG, and various agentic architectures. I believe they may have rushed to implement primitives that are not really good, and fundamentally limiting. Do we really need to be stuck in chat threads circa 2000's? A play is able to order events, speech and actions, and each primitive reads the same regardless of subject: not just for the actors that would take active part by being in the room, but also for the reader that would passively observe the unfolding events.

README

Now, it's true that the project is a mess, currently, I'm very happy about my choice. However, the more I think about this project and what I need it for specifically, the more I'm willing to recognise that its primitives are really simple. That is to say, it would be a shame, if it couldn't be consumed simply, too. Let's investigate whether we could target Web Components, how hard would that be, and most importantly—say, would React people appreciate it?

First big question: our dependencies, think Carta but also the transient ones, could they somehow impede our progress? I don't understand Web Components very well, or Svelte, for that matter—what are the constraints here? Are there inherent incompatibilities we have to be aware of? Svelte compiles, and it's supposedly very efficient! I'm curious how well it translates to Web Components. Hypothetically speaking, Papir's lightweight footprint could make it attractive for embedded.

Think e-ink displays!

The goal here is to make an informed decision about whether Web Components is a viable target for us.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions