Lurker News

Comments (156) 28 threads

Show all comments

Showing thread 1 of 28

pomber4 replies#
Nice article, short and to the point.

If anyone wants to take this idea to another level, I wrote a post showing how to do the same but in 10 times more lines of code: https://pomb.us/build-your-own-react/

aenario1 reply#
Love the format with "live-coding". Is it git-based? Did you open source it?
capableweb1 reply#
Very cool, thanks for sharing that! Now all that's missing is a "eval" button that runs the result and drops you in a repl to experiment with the results.
capableweb1 reply#
Hm, you seem a little to eager to promote your own stuff. This thread was about the "live-coding" aspect where the code updates on the left as you scroll down the post, so you can follow along with how the code is being built. I fail to see how your project does that. Yours seem like the standard code playground, so very different from what was linked earlier in the thread.

Or I misunderstand or simply missed where the "live-coding together with text" comes in.

porsager1 reply#
Hehe, you’re probably right about that, but you could script the live part with the api, and then get the eval part to update as you mentioned, and allow the user to play around at the same time. I'm sorry you didn't find it related.

Continue this thread — 1 reply

lhuser123#
This is really good.
geniium#
Nice post!
enthusiast94#
Thanks for that super useful article @pomber! I read it a while ago and attempted to convert it to TypeScript and do a few extensions, here's my attempt: https://github.com/manasb-uoe/didact.