<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by cats on Medium]]></title>
        <description><![CDATA[Stories by cats on Medium]]></description>
        <link>https://medium.com/@yc_cats?source=rss-6d5aeabfae35------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vpFhWO4imXMEi_lJ.</url>
            <title>Stories by cats on Medium</title>
            <link>https://medium.com/@yc_cats?source=rss-6d5aeabfae35------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 18:12:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yc_cats/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Babel 6.x에서 export default를 require()로 가져오지 못하는 경우]]></title>
            <link>https://medium.com/@yc_cats/babel-6-x%EC%97%90%EC%84%9C-export-default%EB%A5%BC-require-%EB%A1%9C-%EA%B0%80%EC%A0%B8%EC%98%A4%EC%A7%80-%EB%AA%BB%ED%95%98%EB%8A%94-%EA%B2%BD%EC%9A%B0-774b5e5f6ab7?source=rss-6d5aeabfae35------2</link>
            <guid isPermaLink="false">https://medium.com/p/774b5e5f6ab7</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[babeljs]]></category>
            <category><![CDATA[expressjs]]></category>
            <dc:creator><![CDATA[cats]]></dc:creator>
            <pubDate>Fri, 23 Jun 2017 04:03:51 GMT</pubDate>
            <atom:updated>2017-06-23T04:05:04.236Z</atom:updated>
            <content:encoded><![CDATA[<h3>Problem</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3e7c192a4534eb7229fd6e9ff6187280/href">https://medium.com/media/3e7c192a4534eb7229fd6e9ff6187280/href</a></iframe><p>index.js의 router를 찍어보면</p><pre>{ default:<br>   { [Function: router]<br>     params: {},<br>     _params: [],<br>     caseSensitive: undefined,<br>     mergeParams: undefined,<br>     strict: undefined,<br>     stack: [ [Object] ] } }</pre><p>app.use의 두번째 파라미터가 Object로 들어오므로 type error가 뜬다.</p><h3>Solution</h3><p>router.default로 변수를 받아오거나 코드일관성을 유지하려면 router.js에서 module.exports에 router를 할당하면 된다.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=774b5e5f6ab7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[타이틀]]></title>
            <link>https://medium.com/@yc_cats/%ED%83%80%EC%9D%B4%ED%8B%80-3010c5c74df0?source=rss-6d5aeabfae35------2</link>
            <guid isPermaLink="false">https://medium.com/p/3010c5c74df0</guid>
            <category><![CDATA[test]]></category>
            <dc:creator><![CDATA[cats]]></dc:creator>
            <pubDate>Thu, 08 Jun 2017 04:30:54 GMT</pubDate>
            <atom:updated>2017-06-08T04:40:08.169Z</atom:updated>
            <content:encoded><![CDATA[<p>텔 유어 스토리…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*NN7GB2MXkI9ewlZTZHI3jA.gif" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F69zLx7mVs5k%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D69zLx7mVs5k&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F69zLx7mVs5k%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/37bae66162e7e6171fedb0b8fc57592b/href">https://medium.com/media/37bae66162e7e6171fedb0b8fc57592b/href</a></iframe><h3>빠방 on Twitter</h3><p>7번마</p><p><a href="https://medium.freecodecamp.com/how-to-add-code-to-medium-and-get-syntax-highlighting-d699761a5883">How to add code blocks to Medium and use embed tools for syntax highlighting</a></p><pre>import { voice } from “world”;</pre><pre>if(realworld === true) {</pre><pre>  for(let i=0; i&lt;10; ++i) {</pre><pre>    console.log(“Hello World”);</pre><pre>  }</pre><pre>}</pre><p><a href="https://help.medium.com/hc/en-us/articles/224550008-Code-blocks-inline-code">Code blocks &amp; inline code</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9aaa48c1c0c4bf6b50ce7e3c13be0cdb/href">https://medium.com/media/9aaa48c1c0c4bf6b50ce7e3c13be0cdb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3010c5c74df0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>