<?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: tim arney</title>
    <description>The latest articles on DEV Community by tim arney (@timarney_80).</description>
    <link>https://dev.to/timarney_80</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%2F19731%2F7abf46c0-feb2-4dcb-879e-9d0c1a067046.jpg</url>
      <title>DEV Community: tim arney</title>
      <link>https://dev.to/timarney_80</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/timarney_80"/>
    <language>en</language>
    <item>
      <title>Building React FAQ</title>
      <dc:creator>tim arney</dc:creator>
      <pubDate>Wed, 24 May 2017 20:51:06 +0000</pubDate>
      <link>https://dev.to/timarney_80/react-faq</link>
      <guid>https://dev.to/timarney_80/react-faq</guid>
      <description>&lt;p&gt;If you're like me it's hard to keep track of all the videos and posts you've read about React.  There's lots of information out there but, it's all over the place.&lt;/p&gt;

&lt;p&gt;Someone would ask a question about React and I would think.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I remember seeing a post about that somewhere ðŸ¤” or was that on twitter?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What started as a few links in a Git repo has become a fully searchable static site &lt;a href="https://reactfaq.site"&gt;React FAQ&lt;/a&gt; here's how it happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  It started with a question
&lt;/h2&gt;

&lt;p&gt;Here's the question that started it all from &lt;a class="mentioned-user" href="https://dev.to/wesbos"&gt;@wesbos&lt;/a&gt;
&lt;/p&gt;

&lt;blockquote data-lang="en"&gt;
&lt;p&gt;Moving my React string refs over to functions though I don't understand why this is better. Anyone? &lt;a href="https://t.co/KoXJOvOniL"&gt;pic.twitter.com/KoXJOvOniL&lt;/a&gt;&lt;/p&gt;— Wes Bos (&lt;a class="mentioned-user" href="https://dev.to/wesbos"&gt;@wesbos&lt;/a&gt;
) &lt;a href="https://twitter.com/wesbos/status/768094572144631808"&gt;August 23, 2016&lt;/a&gt;
&lt;/blockquote&gt;

&lt;p&gt;In this case I remembered a resource and responded.&lt;/p&gt;

&lt;blockquote data-conversation="none" data-lang="en"&gt;
&lt;p&gt;&lt;a href="https://twitter.com/wesbos"&gt;@wesbos&lt;/a&gt; &lt;a href="https://twitter.com/_developit"&gt;@_developit&lt;/a&gt; &lt;a href="https://twitter.com/dan_abramov"&gt;@dan_abramov&lt;/a&gt; posted this a while back &lt;a href="https://t.co/8g449GgE2A"&gt;https://t.co/8g449GgE2A&lt;/a&gt;&lt;/p&gt;— tim arney (&lt;a class="mentioned-user" href="https://dev.to/timarney"&gt;@timarney&lt;/a&gt;
) &lt;a href="https://twitter.com/timarney/status/768097947334606848"&gt;August 23, 2016&lt;/a&gt;
&lt;/blockquote&gt;

&lt;p&gt;I would often â™¥ï¸ these tweets as a way of &lt;em&gt;bookmarking&lt;/em&gt; them for later reference.  This seemed like a good idea but combing through thousands of &lt;em&gt;"likes"&lt;/em&gt; etc... isn't great.&lt;/p&gt;

&lt;p&gt;I had to find a better way to track resources that would require little effort to maintain and be easy to track. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Maybe the old trusty Readme file with some links would do the trick ... maybe others would find it helpful as well.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Let's Verify
&lt;/h2&gt;

&lt;blockquote data-lang="en"&gt;
&lt;p&gt;&lt;a href="https://twitter.com/timarney"&gt;@timarney&lt;/a&gt; Oh please do! You have no idea how many emails and questions I get about this kind of stuff. Serious - would be super helpful&lt;/p&gt;— Wes Bos (&lt;a class="mentioned-user" href="https://dev.to/wesbos"&gt;@wesbos&lt;/a&gt;
) &lt;a href="https://twitter.com/wesbos/status/768104881467035648"&gt;August 23, 2016&lt;/a&gt;
&lt;/blockquote&gt;

&lt;p&gt;That was all the verification I needed.&lt;/p&gt;

&lt;p&gt;So I started a &lt;a href="https://github.com/timarney/react-faq/commit/92503d37097ca85e737f77ea2ed0a9ed2ef2a0d6"&gt;links repo&lt;/a&gt; to collect resources in a simple Readme.md file. &lt;strong&gt;Three links total&lt;/strong&gt; at that point.&lt;/p&gt;

&lt;p&gt;Overtime the list grew to the point where it became hard to manage. I broke the repo into pages.  That was a decent next step but still not ideal (hard to search).&lt;/p&gt;

&lt;h2&gt;
  
  
  Making it Static
&lt;/h2&gt;

&lt;p&gt;Listening to &lt;a href="https://www.heavybit.com/library/podcasts/jamstack-radio"&gt;JAMstack Radio&lt;/a&gt; got me interested in static sites.  React FAQ seemed like a good place to play around with one of the static site generators.  I ended up picking &lt;a href="https://github.com/gatsbyjs/gatsby"&gt;Gatsby&lt;/a&gt;.  Given I had already broken the repo into pages porting things over to Gatsby was super easy.  The site is mostly written in Markdown.  Gatsby supports Markdown, HTML, and React.js out of the box.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hosting
&lt;/h2&gt;

&lt;p&gt;For hosting &lt;a href="https://www.netlify.com/pricing"&gt;Netlify&lt;/a&gt; was an easy choice it's free for open source.  Netlify auto deploys when I push to the repo so updates are painless (just as easy as updating the original Readme).&lt;/p&gt;

&lt;blockquote data-lang="en"&gt;
&lt;p&gt;Received an email from &lt;a href="https://twitter.com/Netlify"&gt;@Netlify&lt;/a&gt; ... "Weird I didn't push any changes". Noticed later there was a PR to the repo and that was the preview ðŸ”—&lt;br&gt;ðŸ˜± &lt;a href="https://t.co/uLUuNsiwHm"&gt;pic.twitter.com/uLUuNsiwHm&lt;/a&gt;&lt;/p&gt;— tim arney (&lt;a class="mentioned-user" href="https://dev.to/timarney"&gt;@timarney&lt;/a&gt;
) &lt;a href="https://twitter.com/timarney/status/847519263707533312"&gt;March 30, 2017&lt;/a&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Search
&lt;/h2&gt;

&lt;p&gt;The final piece, and the biggest thing for me was making it searchable.  I started out trying to hook up a custom Algolia search.  I might circle back on this idea but given I have limited time to commit to the project this didn't work out.&lt;/p&gt;

&lt;blockquote data-lang="en"&gt;
&lt;p&gt;Has anyone tried hooking up &lt;a href="https://twitter.com/gatsbyjs"&gt;@gatsbyjs&lt;/a&gt; to &lt;a href="https://twitter.com/algolia"&gt;@algolia&lt;/a&gt;?  &lt;br&gt;&lt;br&gt;Might repurpose this &lt;a href="https://t.co/oz6sCZ2KXB"&gt;https://t.co/oz6sCZ2KXB&lt;/a&gt;  Markdown files.&lt;a href="https://t.co/UKEGXvO1t1"&gt;https://t.co/UKEGXvO1t1&lt;/a&gt; &lt;a href="https://t.co/JfOXLJsH32"&gt;pic.twitter.com/JfOXLJsH32&lt;/a&gt;&lt;/p&gt;— tim arney (&lt;a class="mentioned-user" href="https://dev.to/timarney"&gt;@timarney&lt;/a&gt;
) &lt;a href="https://twitter.com/timarney/status/836576908720635904"&gt;February 28, 2017&lt;/a&gt;
&lt;/blockquote&gt;

&lt;p&gt;All is well that ends well.  Turns out there's a great service for that called &lt;a href="https://community.algolia.com/docsearch"&gt;DocSearch&lt;/a&gt; from Algolia.  The same search that powers the React Docs.  Just had to add a couple of script tags and done ðŸŽ‰.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mwb0Zkon--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/yxxwybf3ygm1w0s6zv0t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mwb0Zkon--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/yxxwybf3ygm1w0s6zv0t.png" alt="React FAQ"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Mission Accomplished
&lt;/h2&gt;

&lt;p&gt;No more hunting down resources all over the place.  From Readme.md to fun little side project &lt;a href="https://reactfaq.site"&gt;check it out&lt;/a&gt; and let me know what you think.&lt;/p&gt;

&lt;p&gt;Have something to add to the site?  Pick an &lt;a href="https://github.com/timarney/react-faq/tree/master/pages"&gt;appropriate page&lt;/a&gt;  add the resource and submit a PR ... would love some more contributors.&lt;/p&gt;

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