<?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: Earth's Resident</title>
    <description>The latest articles on DEV Community by Earth's Resident (@earthsresident).</description>
    <link>https://dev.to/earthsresident</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%2F3745913%2F0fca1632-bcca-4f1b-b719-bd3a58a35c08.png</url>
      <title>DEV Community: Earth's Resident</title>
      <link>https://dev.to/earthsresident</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/earthsresident"/>
    <language>en</language>
    <item>
      <title>How do I make a specific child page not trigger the load of data from +layout.server.js from the parent page in Sveltekit?</title>
      <dc:creator>Earth's Resident</dc:creator>
      <pubDate>Sun, 01 Feb 2026 20:37:36 +0000</pubDate>
      <link>https://dev.to/earthsresident/how-do-i-make-a-specific-child-page-not-trigger-the-load-of-data-from-layoutserverjs-from-the-1bng</link>
      <guid>https://dev.to/earthsresident/how-do-i-make-a-specific-child-page-not-trigger-the-load-of-data-from-layoutserverjs-from-the-1bng</guid>
      <description>&lt;p&gt;I have a Sveltekit project with the below folder structure in src/routes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;+layout.server.js
+page.svelte
    child_1/
        +page.svelte
    child_2/
        +page.svelte
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The website should load the data from +layout.server.js when it is on the root page or child_1 but not when it is on child_2.&lt;/p&gt;

&lt;p&gt;How do I make this happen?&lt;/p&gt;

&lt;p&gt;Thanks in advance for any advice.&lt;/p&gt;

</description>
      <category>svelte</category>
      <category>sveltekit</category>
    </item>
  </channel>
</rss>
