This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Provide ST-like interface for building stuff #7
Open
Description
So for instance a Layer
is created ST
-style and then frozen, and can no longer be mutated. That way we get a pure interface safely, as you can only locally mutate while building, and then the effectfulness is restricted to actually setting layers on a chart, etc.
There may be a good reason why it's not possible to do this, but it's an idea anyway 😄