Wondering if “Build Systems à la Carte” https://doi.org/10.1017/S0956796820000088 could be used for implementing reactive user interfaces 🤔
=> More informations about this toot | More toots from brendan@types.pl
I’ve been thinking along these lines because I’d like to try using build systems for implementing query-based language tooling (see https://ollef.github.io/blog/posts/query-based-compilers.html), and it would be neat if similar infrastructure could be re-used for other things.
I could be missing some key challenges however – not being an expert in either domain.
=> More informations about this toot | More toots from brendan@types.pl
Does anyone have any context to how things went with the Static DOM and Purview stuff Phil Freeman was working on in Purescript?
From what I’ve seen Purview seems relatively lightweight https://github.com/paf31/purescript-purview (including the library it’s based on) and learning about the incremental lambda calculus might be handy, so might be worth a quick experiment… I’m mainly curious to know if there’s any pitfalls to be aware of.
=> More informations about this toot | More toots from brendan@types.pl
@brendan it seems like it should, right? but not sure whether you get “glitch-free” reactivity that way. Have you seen the blog series by Solid.js’ Ryan: https://dev.to/this-is-learning/derivations-in-reactivity-4fo1
=> More informations about this toot | More toots from mb21@hachyderm.io
@mb21 Interesting! Not sure about the glitch free reactivity… will have to think about that.
The phases of reactivity are giving me something to ponder. I guess I was hoping that a better understanding of dependencies between components could help simplify the render effect phase, and possibly avoiding the need for a virtual DOM? Not sure.
The way user effects are executed in a single phase is interesting… I wonder if algebraic effects could help here. I know React was inspired a bit by them, not sure if this is why.
=> More informations about this toot | More toots from brendan@types.pl
@brendan btw. do you know of a static site generator that works in this way? seems that for the final static build it’s usually implemented as a pipeline, but for the dev server (or some dynamic routes you want to server-side-render) you would want a query-based system.
=> More informations about this toot | More toots from mb21@hachyderm.io
@mb21 No idea! I’ve been wanting to make my own, mini SSG based on the build system stuff sometime. I know the 1Lab was using Shake at one stage for generating their pages, not sure if they still are.
=> More informations about this toot | More toots from brendan@types.pl This content has been proxied by September (ba2dc).Proxy Information
text/gemini