Hello, JS Nation. I hope you're all having an amazing event so far and enjoying this amazing conference. I'm here to tell you a bit about some interesting stuff that I've been working and I've been using and I hope that you find interesting as well.
Well, if we were doing this talk in person, I would ask you three questions. The first one would be, have you ever used SolidJS? The second one, actually the first one would be, have you heard about SolidJS? The second one would be, have you used SolidJS? And the third one would be, have you ever watched or read Dune? Because similarly like the main character, Poltergeist, is in the Dune universe, Solid showed everyone the path six years ago. And this was a path of reactivity, a path of fine-grain reactivity, because this is where we were six years ago when Solid came out.
Now, there's a difference between fine-grain reactivity, which is where Solid was, and coarse-grain reactivity. The difference is, when you have a coarse-grain reactive system, the framework needs to run code to basically find out where updates happen to the UI. Whilst when you have a fine-grain system, the framework doesn't need to run this code. It's powered by this primitive which is called signals, and signals tell the framework that something changed, and therefore allow the framework to be more fine-grained in a sense. So this is where we were six years ago. Now, let's fast forward in time. This is where we are. As you can see, almost everyone saw the value of fine-grain reactivity and the signals, and has pivoted to introducing some sort of level, some sort of signals in their code and in their frameworks.
Now, this was happening something new showed up a couple of three, four years ago, and people started talking about this new thing, which is not a new thing, which has been around for a while, but it hasn't been done in the JavaScript world for a while, or hasn't been actively in the JavaScript world for a while, which is server-side rendering. And everyone was thinking, okay, yeah, server-side rendering, that's pretty interesting, it saves us a bunch of time, we can pivot a bunch of stuff from the client to the servers again. We had done that in the past, how can we start doing it again? Well, personally, I didn't like to be configuring Webpack by myself. One of the easiest ways we could opt in into a different rendering mode was by using a meta framework. And every framework had their own version of a meta framework. So for those of you who are not familiar, meta framework, it's called meta framework because it's a framework built off of a framework. And well, those frameworks had their own meta frameworks, Vue had Nuxt, Angular had Analog, React has Next.js or Remix. And these meta frameworks allowed them to do this thing that we needed, which was server-side rendering, had these multiple rendering modes that you could use.
Now, while this was happening, while this discussion showed up, people started asking the question, okay, what about Solid? Where's Solid meta framework? Well, look, in 2021, Vite 2.0 came out. On that same week, Ryan Carnearo, the creator of Solid.js, started working on the new meta framework for Solid, Solid Start. And that's the title of this talk, Solid Start, the Shape of Frameworks to Come. Before I continue, let me just introduce myself real quickly. My name is Daniel Alfonso, I'm a developer advocate. I'm part of the Solid.js DX team. I'm an instructor at Agileio and you can find me pretty much on any social media, anywhere on the internet at the handle DanielJCAlfonso. Some other stuff about me, well, I released a book called State Management with React Query last year.
Comments