
JS Party: JavaScript, CSS, Web Development
Million ways to render
Jun 8, 2023
The podcast discusses Million.js, a JavaScript library for efficiently rendering large datasets in the browser, and its goals. They compare it to other projects like Solid and Quick, and talk about using components correctly for performance. They also explore the limitations of Million, the differences between VEAT and the plugin, and the benefits of ESLint and React hooks rules. They explain the origin of 'Million' and its potential impact on React. The podcast concludes by inviting listeners to join the 'Million' project and contribute to making a better web.
42:25
AI Summary
AI Chapters
Episode notes
Podcast summary created with Snipd AI
Quick takeaways
- Million.js is a virtual DOM replacement for React that aims to make React and other virtual DOM environments faster by introducing the concept of block virtual DOM.
- Million.js utilizes static analysis through a compiler to identify dynamic areas within components, allowing the virtual DOM to skip unnecessary diffing and only update dynamic parts when changes occur, resulting in improved rendering performance.
Deep dives
Introducing Million.js: Making React Faster with Virtual DOM Replacement
Million.js is a virtual DOM replacement for React that aims to make React and other virtual DOM environments faster. By wrapping components in a block function, developers can speed up the virtual DOM. The project started with the goal of addressing the performance issues of React and improving areas such as bundle size and render speed. Initially, the project failed to outperform React, but after three months of development, a new concept called the block virtual DOM was introduced, offering performance comparable to libraries like Solid JS. Million.js aims to provide a solution for developers who want to optimize rendering without sacrificing the benefits of React.
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.