<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>template &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:template</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Wed, 15 Apr 2026 06:43:03 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>template &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:template</link>
    </image>
    <item>
      <title>DevNotes - 005</title>
      <link>https://devblog.dinobansigan.com/devnotes-005?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Fire and forget template for C#/.NET to run something that you don&#39;t need to wait on and don&#39;t care about the results.&#xA;Task.Run(() =  {&#xA;&#x9;//code goes here&#xA;});&#xA;---&#xA;&#xA;In ReactJS, if ESLint says you cannot use inline arrow functions to pass in props in JSX, a solution is to wrap them with the useCallback hook.&#xA;&#xA;Reference: https://stackoverflow.com/a/36677798/5041911&#xA;&#xA;---&#xA;&#xA;Modals -- can be used to add dialog or popup info boxes on your ReactJS app.&#xA;&#xA;---&#xA;&#xA;So using this library actually helped me solve my Azure Application Insights logging issue. The issue being, since I had a dateOfBirth object in my formData object, app insights would save it as an object, as opposed to something like dateOfBirth: 2024-04-16. The solution was to flatten the formData object so it will get logged properly in Azure App Insights.&#xA;&#xA;---&#xA;&#xA;Rendering the HTML string in React -- short tutorial on how to render an HTML string in ReactJS/Gatsby.&#xA;&#xA;---&#xA;&#xA;Series: #DevNotes&#xA;Tags: #CSharp #DotNet #Template #ReactJS #Azure #ApplicationInsights #Gatsby&#xA;&#xA;!--emailsub--&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/devnotes-005&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>Fire and forget template for C#/.NET to run something that you don&#39;t need to wait on and don&#39;t care about the results.</p>

<pre><code class="language-csharp">Task.Run(() =&gt;
{
	//code goes here
});
</code></pre>

<hr/>

<p>In ReactJS, if ESLint says you cannot use inline arrow functions to pass in props in JSX, a solution is to wrap them with the <code>useCallback</code> hook.</p>

<p>Reference: <a href="https://stackoverflow.com/a/36677798/5041911">https://stackoverflow.com/a/36677798/5041911</a></p>

<hr/>

<p><a href="https://react-bootstrap.netlify.app/docs/components/modal/">Modals</a> — can be used to add dialog or popup info boxes on your ReactJS app.</p>

<hr/>

<p>So using <a href="https://www.npmjs.com/package/flat">this library</a> actually helped me solve my Azure Application Insights logging issue. The issue being, since I had a <code>dateOfBirth</code> object in my <code>formData</code> object, app insights would save it as an object, as opposed to something like <code>dateOfBirth: 2024-04-16</code>. The solution was to flatten the <code>formData</code> object so it will get logged properly in Azure App Insights.</p>

<hr/>

<p><a href="https://reactgo.com/react-render-html/">Rendering the HTML string in React</a> — short tutorial on how to render an HTML string in ReactJS/Gatsby.</p>

<hr/>

<p><strong>Series:</strong> <a href="https://devblog.dinobansigan.com/tag:DevNotes" class="hashtag"><span>#</span><span class="p-category">DevNotes</span></a>
<strong>Tags:</strong> <a href="https://devblog.dinobansigan.com/tag:CSharp" class="hashtag"><span>#</span><span class="p-category">CSharp</span></a> <a href="https://devblog.dinobansigan.com/tag:DotNet" class="hashtag"><span>#</span><span class="p-category">DotNet</span></a> <a href="https://devblog.dinobansigan.com/tag:Template" class="hashtag"><span>#</span><span class="p-category">Template</span></a> <a href="https://devblog.dinobansigan.com/tag:ReactJS" class="hashtag"><span>#</span><span class="p-category">ReactJS</span></a> <a href="https://devblog.dinobansigan.com/tag:Azure" class="hashtag"><span>#</span><span class="p-category">Azure</span></a> <a href="https://devblog.dinobansigan.com/tag:ApplicationInsights" class="hashtag"><span>#</span><span class="p-category">ApplicationInsights</span></a> <a href="https://devblog.dinobansigan.com/tag:Gatsby" class="hashtag"><span>#</span><span class="p-category">Gatsby</span></a></p>



<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/devnotes-005">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/devnotes-005</guid>
      <pubDate>Tue, 23 Apr 2024 17:18:27 +0000</pubDate>
    </item>
  </channel>
</rss>