{
    "componentChunkName": "component---src-templates-blog-post-tsx",
    "path": "/blog/2017-01-16-react-native-and-chill-a-tale-of-stupid-made-fast/",
    "result": {"data":{"blogPost":{"title":"React Native and Chill: A tale of stupid made fast","slug":"/blog/2017-01-16-react-native-and-chill-a-tale-of-stupid-made-fast/","authorNodes":[{"name":"Charles Lowell","slug":"/people/charles-lowell/"}],"markdown":{"html":"<p>The instant she told me, I knew with the feeling of faith that it was\ntrue. \"Charles,\" she said gravely \"You've got to build something\n<em>stupid</em>, and you've got to do it really soon.\"</p>\n<p>Of course! Something stupid. Why didn't I think of that.</p>\n<p>It was so obvious why not: I was too busy thinking about\nbiznazz; too busy thinking about <em>sales</em>; too busy thinking\nabout <em>accounting</em>. Too busy thinking about things like <em>office\nfurniture</em> and  <em>hiring practices</em>.</p>\n<p>These are all things that are well and proper to think about...\nnecessary even. They are the things that every voice I trust in my life\nadmonishes me to concentrate on exclusively, my own loudest among them.</p>\n<p>But listen <em>too much</em> to these voices and they'll have you piling the\nwork-cart high with sundry projects and tasks. Now\nyou spend every waking moment watching it teeter back and forth making\nsure it doesn't dump over and lose everything. Where is the\ninspiration in <em>that</em>?</p>\n<p>Nope, time to set that cart down and do something stupid.</p>\n<p>Luckily, fortune favors the stupid, and if you've set your mind to finding\nsomething idiotic to do, you're bound to succeed (based on the\nabundance of stupid things to do in the universe).</p>\n<p>For me it happened the very next day.</p>\n<h1 id=\"a-dumb-idea\" style=\"position:relative;\"><a href=\"#a-dumb-idea\" aria-label=\"a dumb idea permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>A dumb idea</h1>\n<p>As a statement of fact rather than complaint, the end of\n2016 and the beginning of 2017 has been a preternaturally stressful\ntime. I know that this is what the internet has been droning on about\nlately, but in my case it's really true! I seriously don't remember a\ntime in my life that was any trickier to navigate or that has required\nsuch sustained mental concentration.</p>\n<p>Of course I have several coping mechanisms on hand, including Rye\nWhiskey, but one of the simplest and most effective ones that has\ncome to my aid on more occasions that I can count\nis <a href=\"http://chillestmonkey.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">The Chillest Monkey</a>. For me, I need only glance at his picture\nfor a few moments before experiencing a <em>physical sensation of relaxation</em>.</p>\n<p>His detached gaze sees through the edifice of anxieties I've built\nand twisted around myself. The low-frequency waves of tranquility\nemanating from his placid countenance dissolve and disippate it like a\ngrease stain before a flow of warm detergent.</p>\n<p>I was sharing this personal treasure with my co-workers when <a href=\"http://robert-deluca.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Rob</a>\nexclaimed something to the effect of \"We need to put this on the Apple\nTV!\"</p>\n<p>\"Yes!\" I thought. \"Yes! we do!\" We should have the power to behold the\nChillest Monkey on an whim! And why stop with the TV? Shouldn't he be\non the Watch and the iPhone as well?</p>\n<p>I could almost feel the relief. \"ZOMG!\" I thought, \"My life would be\ndemonstrably better if this were the case.\"</p>\n<h2 id=\"be-bold-and-mighty-forces-will-come-to-your-aid\" style=\"position:relative;\"><a href=\"#be-bold-and-mighty-forces-will-come-to-your-aid\" aria-label=\"be bold and mighty forces will come to your aid permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Be bold, and mighty forces will come to your aid</h2>\n<p>The timing was fortititous: Apple TV support for React Native had\njust <a href=\"https://github.com/facebook/react-native/commit/c92ad5f6ae74c1d398c7cd93d5c4c50da0ca0430\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">landed on master only a few short weeks ago</a>. Clearly this was\na sign from God that the moment to act was now. And indeed, with\npowerful allies like Robert Deluca, and Amazon Prime Now, how could I\npossibly fail?</p>\n<p>So after building <code class=\"language-text\">react-native</code> from master to get tvOS support, and\nspending an afternoon with Rob hacking to make the chillest monkey layout\nproperly on the Apple TV screen..... and yet a few more hours fiddling\nwith XCode to install onto a physical device that Amazon had delivered\njust minutes before, the mountain was summited. His face expanded in\nanimation to almost six feet across as the app opened up onto the\nprojection screen. The feeling of tranquil gratification was\npalpable.</p>\n<p><img src=\"https://media.giphy.com/media/rMN2jzHjzcO6k/giphy.gif\" alt=\"Gif demo of the Chillest Monkey Apple TV app\"></p>\n<p>It's so comforting for me to know now that he's there; to know that\nall I have to do is pick up the Apple TV remote and conjure him with a\ngesture. But what kind of citizen of humanity would I be if I hoarded his\nboundless beneficence to myself?</p>\n<p>The Chillest Monkey should be for <em>anyone</em>, and anybody that wants to\ninclude him in their apps and share his bounty with their users should\nbe empowered to do so. That's why I created <a href=\"https://www.npmjs.com/package/react-native-chillest-monkey\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">an extension</a> that\nallows you to do just that: embed this most chill of primates into <em>any</em>\napplication, on <em>any</em> device that React Native supports.</p>\n<h2 id=\"hard-made-easy\" style=\"position:relative;\"><a href=\"#hard-made-easy\" aria-label=\"hard made easy permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Hard made easy</h2>\n<p>I glossed over a lot of the yaks that needed to be\nshaved in order to achive the end result (and there were many). I\nlearned about tvOS. I learned a lot about React\nNative and how to package components to share them between applications, but\nlearning was never the point. And it didn't feel anything remotely like\nstudy. If anything, the sensation throughout was one of <em>lightening</em> my load,\neven as I was in the act of lugging a yard full of knowledge onto the ship.</p>\n<p>And how about that?!? You trade in your worries and in exchange you\nreceive new insights and skills. Now <em>that</em> seems like a good\ntransaction if I ever heard of one... an arbitrage of the spirit you\nmight say. Now remind me why I don't do this more often?</p>\n<p>I don't think I'll need reminding of it in the future though. I also\nhope that whether it's using the Chillest Monkey in your own apps or\nsomething different altogether, you do something silly soon; something\nfor which the payoff is dubious, but the downside doesn't exist.</p>\n<p>I did, and it felt stupendous.</p>\n<hr/>\n<p>I’m Charles Lowell (<a href=\"https://twitter.com/cowboyd\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">@cowboyd</a> on twitter), and I build UI for a living at <a href=\"http://frontside.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">The Frontside</a>. If you enjoyed this, I’d love to hear from you.</p>","frontmatter":{"date":"January 16, 2017","description":null,"tags":["react native","react","tvOS"],"img":{"childImageSharp":{"fixed":{"src":"/static/f7ad1245a99acd62791010701a06b7e6/b20de/2017-01-16-react-native-and-chill-a-tale-of-stupid-made-fast_monkey.png"}}}}}}},"pageContext":{"id":"25f1f1c9-895b-5b46-8917-c634833580b6"}},
    "staticQueryHashes": ["1241260443"]}