Reshapability in the next generation of front-end framework with OOV one loading time. I spice up a little bit of my TED talk and it's called Reshapability in the next generation of front-end frameworks with OOV one loading time.
Hi, my name is Ruby Jane Kabagnot. I'm originally from the Philippines but I have been working in Oslo Norway for the past few years now. And I think some people are already familiar with the term Reshapability. This was coined by the creators of QUIC including the so-called father of Angular JS, Misko Hevry, who said this idea of reshapability is a mental shift or a paradigm shift from the way the current generation of front-end frameworks works, which is the hydration process.
And so to explain the Reshapability, we need to understand the so-called hydration process of the current generation of frameworks. Because the fundamental problem in this hydration thing in front-end frameworks is that our application or app needs to hydrate at least once in the server and then do the same thing in the browser. But you may ask so what? Well, basically, it just means that the so-called DTI, or Time to Interactive of the application becomes slower. And this can be very frustrating or felt by your end users, especially if you got a big application or your users are using a slower network connection or just older devices. And of course, no one wants a frame website that takes forever to download, right?
And why they need to hydrate? So to explain this further, the hydration in JavaScript frameworks is like turning your static painting or static painting into an interactive touchscreen. So basically, the server provides the initial painting or HTML. And then we need but we need to actually touch controls or the event handlers, right? And the features which is the application state to make everything interactive or your application interactive. But the thing is, this step can slow down the initial loading time of the application. So making your painting look touch ready when it's not, which is really frustrating for your users. Like what I said, simply put the hydration step in the client side is to make our application interactive. So what about Quick? So Quick is a new web framework that makes your web apps or our web application loads instantly, no matter how big or complex they are. Basically, it just uses, they said one kilobyte or one KB of JavaScript to start. So ensuring a fast performance of any scale. Now, unlike other frameworks, Quick doesn't require hydration, so your apps are interactive right away. So this is achieved by feature what they say, region mobility. Basically, Quick focuses on super fast load times. And even on, even if you're using mobile or because it's just serving HTML as needed. No, sorry, it just loads the HTML needed and loading and just loaded the JavaScript incrementally. So overall, Quick aims to deliver the fastest possible user experience by optimizing your server side HTML and rendering, HTML rendering and lazy loading the JavaScript. So what is this region mobility? So because Quick is different because it does not require hydration or eager execution of your code on the client side. It uses region mobility. So meaning not requiring hydration is what makes the Quick application startup almost instantaneous. So the browser or your client does not need to do anything because it already has all the information that it needs. It has information that needs in so-called stateful HTML to basically determine where the things are in the application, which includes these three important things that you are event listeners, the framework code, and the application code.
Comments