Hmm, looks like twitter doesn't let you expand gifs? Video version here, not that it's particularly interesting yetpic.twitter.com/OiZ6Txvwwd
-
Show this thread
-
A couple ideas for next things: 1) autocompleting field names, including concrete previews of data 2) playing w/ formula styles for making it easy to manipulate collections. This is a big difference from spreadsheets which tend to run "one row at a time" on scalar values
4 replies 0 retweets 6 likesShow this thread -
Playing with building little UIs in this JSON spreadsheet thingy, using HTML+Mustache Demo of adding profile pics to a twitter client:pic.twitter.com/DLCO6EqSBV
1 reply 0 retweets 4 likesShow this thread -
Couple notes: * $variable is a live ref, reactively updates spreadsheet style * Notice how I used the real API data output to look up the JSON key for the image URL, no docs needed!
1 reply 0 retweets 0 likesShow this thread -
Today this prototype outgrew a naive cell update strategy, so I switched to the classic spreadsheet update algorithm: register dependencies, each cell updates its dependents on change. Was fun to get that (mostly?) working
1 reply 0 retweets 1 likeShow this thread -
The next step which will hopefully take this to another level of interesting: Record interaction events from the user, and stream those events back into this same JSON manipulation UI, to enable building interactive UIs
1 reply 0 retweets 3 likesShow this thread -
Got this ^ working! Runtime now exposes a stream of click events that the user can manipulate Quick demo: * make a "Like" button on each tweet * set metadata on the button to the tweet ID * see tweet ID come through on click eventspic.twitter.com/A1YECkCmx3
3 replies 3 retweets 20 likesShow this thread -
Good progress today, mainly switching from Mustache to JSX for view templating I'm enjoying the feeling of "building a UI in a spreadsheet" Micro TodoMVC demo:pic.twitter.com/FbDX2spcEN
2 replies 3 retweets 10 likesShow this thread -
Geoffrey Litt Retweeted Geoffrey Litt
Key point to notice: little bits of UI state are defined as a reduce over a global event stream No imperative event handlers setting statehttps://twitter.com/geoffreylitt/status/1171078934684979200 …
Geoffrey Litt added,
0:45Geoffrey Litt @geoffreylittGot this ^ working! Runtime now exposes a stream of click events that the user can manipulate Quick demo: * make a "Like" button on each tweet * set metadata on the button to the tweet ID * see tweet ID come through on click events pic.twitter.com/A1YECkCmx3Show this thread1 reply 0 retweets 4 likesShow this thread -
Fun milestone: built TodoMVC in this live programming environment I'm prototyping! Left column: UI of the app Middle column: formula editor for currently selected cell Right column: list of all the cellspic.twitter.com/iV85BVJA8q
2 replies 0 retweets 18 likesShow this thread
Awesome, I love that it's basically a declarative model but decomposed! Feels like a natural successor to the authoring model of React.
-
-
Replying to @maxkriegers
Yeah, the idea of decomposing state into granular units is inspired by
@stevekrouse: https://futureofcoding.org/papers/comprehensible-frp/comprehensible-frp.pdf … The hope is that by each unit doing independent reduce operations over a subset of the event stream, things become easier to understand1 reply 1 retweet 3 likes -
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
