<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alexandre</title>
    <description>The latest articles on DEV Community by Alexandre (@lenny4).</description>
    <link>https://dev.to/lenny4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1833426%2Fe00a58b9-b20b-47db-a2c3-fbcf860acba7.png</url>
      <title>DEV Community: Alexandre</title>
      <link>https://dev.to/lenny4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lenny4"/>
    <language>en</language>
    <item>
      <title>Why doesn't React implement Million.js "natively"?</title>
      <dc:creator>Alexandre</dc:creator>
      <pubDate>Wed, 24 Jul 2024 14:02:32 +0000</pubDate>
      <link>https://dev.to/lenny4/why-doesnt-react-implement-millionjs-natively-4ec8</link>
      <guid>https://dev.to/lenny4/why-doesnt-react-implement-millionjs-natively-4ec8</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/aidenybai/million" rel="noopener noreferrer"&gt;Million.js&lt;/a&gt; claims to make React 70% faster.&lt;/p&gt;

&lt;p&gt;Why doesn't React use a similar system (or Million.js itself) to render the DOM if it is so much faster?&lt;/p&gt;

&lt;p&gt;As I'm writing right now React 19 is only available in beta testing. The main big feature that comes with React 19 is that it will now have is own &lt;a href="https://react.dev/learn/react-compiler#what-does-the-compiler-do" rel="noopener noreferrer"&gt;compiler&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In order to optimize applications, React Compiler automatically&lt;br&gt;
memoizes your code. You may be familiar today with memoization through&lt;br&gt;
APIs such as &lt;code&gt;useMemo&lt;/code&gt;, &lt;code&gt;useCallback&lt;/code&gt;, and &lt;code&gt;React.memo&lt;/code&gt;. With these APIs you&lt;br&gt;
can tell React that certain parts of your application don’t need to&lt;br&gt;
recompute if their inputs haven’t changed, reducing work on updates.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Does this means that Million.js will become obsolete with React 19?&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
