<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vite on Jake Worth</title><link>https://jakeworth.com/tags/vite/</link><description>Recent content in Vite on Jake Worth</description><image><title>Jake Worth</title><url>https://jakeworth.com/twittercard.png</url><link>https://jakeworth.com/twittercard.png</link></image><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 30 Jun 2026 09:33:35 -0400</lastBuildDate><atom:link href="https://jakeworth.com/tags/vite/index.xml" rel="self" type="application/rss+xml"/><item><title>Vite Hot Module Replacement</title><link>https://jakeworth.com/tils/vite-hot-module-replacement/</link><pubDate>Tue, 30 Jun 2026 09:33:35 -0400</pubDate><guid>https://jakeworth.com/tils/vite-hot-module-replacement/</guid><description>&lt;p&gt;I was doing a Vite demo last week, I changed some markup, and visited the local
web server. The markup changed, but the state persisted. What?!&lt;/p&gt;
&lt;p&gt;This is Vite&amp;rsquo;s Hot Module Replacement API.&lt;/p&gt;</description></item><item><title>Non-Null With Root Import</title><link>https://jakeworth.com/tils/non-null-with-root-import/</link><pubDate>Mon, 29 Jun 2026 11:24:16 -0400</pubDate><guid>https://jakeworth.com/tils/non-null-with-root-import/</guid><description>&lt;p&gt;New Vite TypeScript/React apps create themselves like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-tsx" data-lang="tsx"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;createRoot&lt;/span&gt;(document.&lt;span style="color:#a6e22e"&gt;getElementById&lt;/span&gt;(&lt;span style="color:#e6db74"&gt;&amp;#39;root&amp;#39;&lt;/span&gt;)&lt;span style="color:#f92672"&gt;!&lt;/span&gt;).&lt;span style="color:#a6e22e"&gt;render&lt;/span&gt;(&amp;lt;&lt;span style="color:#f92672"&gt;App&lt;/span&gt; /&amp;gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;What&amp;rsquo;s going on with that &lt;code&gt;!&lt;/code&gt;?&lt;/p&gt;</description></item><item><title>5173 is Vite</title><link>https://jakeworth.com/tils/5173-is-vite/</link><pubDate>Thu, 25 Jun 2026 12:51:02 -0400</pubDate><guid>https://jakeworth.com/tils/5173-is-vite/</guid><description>&lt;p&gt;Vite&amp;rsquo;s default port, 5173, is leet code for the project&amp;rsquo;s name:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;5 = &amp;ldquo;V&amp;rdquo; (Roman numerals 😉)&lt;/li&gt;
&lt;li&gt;1 = &amp;ldquo;I&amp;rdquo;&lt;/li&gt;
&lt;li&gt;7 = &amp;ldquo;T&amp;rdquo;&lt;/li&gt;
&lt;li&gt;3 = &amp;ldquo;E&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>