🚶♂️ When you're near your limit, focus on moving one foot forward at a time.
Hi friends,
It’s been another week, how are y’all doing?
Love the quote? My friend @tzyinc has been posting wisdom daily on his twitter. I particularly like this one.
So, for the past week, I’ve been on to a YouTube live stream with Eddie Jaoude, converting a static HTML into a Svelte application. I met Eddie at CityJS Conf, it’s always nice to meet new people at a conference. Eddie is running a community of new developers at Discord, they’ve been very active in the chat, and proactively learning new frameworks and libraries.
Here’s some tl;dr we did on the livestream:
1️⃣ we learned basic svelte syntax on the Svelte REPL
2️⃣ we copied the entire HTML in the <body>
into the REPL, and start refactoring within the REPL.
3️⃣ the download button on the top-right corner allows you to download the Svelte boilerplate + the files you’ve written in the REPL
Also, I went on to talk.js, a SingaporeJS meetup, to talk about “Compile Svelte in your head” (video);
And MMT Tech Meetup to talk about the “Svelte compiler”, (well, the same talk I given at the CityJS Conf). (YouTube link).
The MMT Tech Meetup happened at 6pm BST, which is 1am in Singapore 😴. I think you could tell how late it was and how tired I was in the YouTube video.
Also, I managed to push 2 blog post over the past week.
1. Part 4 of the Compile Svelte in your Head
1️⃣ how to implement if-else template in vanilla JS
2️⃣ how that translates into Svelte’s compiled JS output
3️⃣ what is the anchor_node
?
2. Contributing to Svelte: Implement {#key} block
This article complements well if you’ve watched my talk in CityJS Conf. The talk walks through step-by-step how the Svelte compiler works, and this article shows how we implement each step for a {#key}
block.
Hopefully this gives you a fuller picture of the Svelte compiler. Of course, as always, reach out to me on twitter if you have anything unclear with either content.
What’s next?
I’ll start working on my next Svelte talk, it will be about transitions in Svelte. 😏
At the same time, I’m hosting a workshop on implementing a webpack clone within the company. Hopefully some of those content will be out for you guys :)
I’ve been more freestyle lately with the newsletter content, hopefully you guys are okay with it. Well, reply this email with your feedback. I’ll read all your emails 😁
And that’s the end of this week! Hope you enjoyed.
Until next time, friends! 👋