1 Are frontend frameworks magic to you?
This chapter covers
- Why you should build your own frontend framework
- The features of the framework we’ll build together
- The big picture of how frontend frameworks work
How you ever wondered how the frontend frameworks you use work internally? Are you curious about how they decide when to re-render a component, and how they do to only update the parts of the DOM that change? Isn’t it interesting how a single HTML page can change its content without reloading? That the URL in the browser’s address bar changes without requesting the new page to a server? The inner workings of frontend frameworks are fascinating, and there is no better way to learn about them than by building one yourself, from scratch. But why would you want to learn how frontend frameworks work? Is’t it enough to just know how to use them?--you might ask.