<?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>Forem: Eduardo Costa</title>
    <description>The latest articles on Forem by Eduardo Costa (@eduardo_bbdaca5aa84).</description>
    <link>https://forem.com/eduardo_bbdaca5aa84</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%2F1717786%2F4f495531-798a-4941-a16f-a61f6f0140af.png</url>
      <title>Forem: Eduardo Costa</title>
      <link>https://forem.com/eduardo_bbdaca5aa84</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/eduardo_bbdaca5aa84"/>
    <language>en</language>
    <item>
      <title>Help with pre-rendering or the sorts?</title>
      <dc:creator>Eduardo Costa</dc:creator>
      <pubDate>Tue, 02 Jul 2024 13:26:50 +0000</pubDate>
      <link>https://forem.com/eduardo_bbdaca5aa84/help-with-pre-rendering-or-the-sorts-2a00</link>
      <guid>https://forem.com/eduardo_bbdaca5aa84/help-with-pre-rendering-or-the-sorts-2a00</guid>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have a custom-made cgi application I'd like to use react with, and I'm trying to find my way around how to stuff dynamically-generated links in the output, that are needed on a per-requeset, per-session, and per-customer basis.&lt;/p&gt;

&lt;p&gt;I started by building a page having only an AppBar with a menu and three items on it, just to see if I could find my way in, but whenever I build it for production, and whenever I use routes or not, these links get moved into some js chunk it wouldn't be feasible to work with.&lt;/p&gt;

&lt;p&gt;Ideally, I'd like to output the html with the links already set, and have it pulling js and css chunks from the server as needed.&lt;/p&gt;

&lt;p&gt;Have also thought on using `fetch' to pull these from the server, but I'd prefer a more static solution. Is there some known way around this? maybe even pre-rendering even exists and I could output such pre-rendered page stuffing the links where needed?&lt;/p&gt;

&lt;p&gt;Any ideas welcome.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

</description>
      <category>react</category>
    </item>
  </channel>
</rss>
