@lmatteis I believe in a top level “controller” component for each “page”, that delegates rendering to a “view” component composed in Pagedraw. All state lives in the controller, and is passed down into the stateless view.
@lmatteis@mjackson Re: layout, kind of exactly the webflow CSS Grid stuff. The inspiration, in some ways, for Pagedraw was I found Webflow too difficult compared to Sketch. We got the Sketch flexibility right, but have a hard time with expressing line wrapping and things like that
@lmatteis@mjackson But composing UIs isn’t actually expressing truly novel ideas— and thus isn’t actually programming. DSLs like HTML are just UIs for models better represented in a GUI /2
@lmatteis@mjackson Re programming state: I couldn’t come up with a UI I liked. My thesis is that language (code) is the best way to express truly arbitrary ideas, and thus must be used for anything novel /1
@lmatteis@mjackson Re CSS grid: I think we might be using different meanings for the same word— what do you mean by styling? I thought webflow’s CSS Grid thing was for positioning objects in a page