<?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 Dan Buda on Medium]]></title>
        <description><![CDATA[Stories by Dan Buda on Medium]]></description>
        <link>https://medium.com/@danbuda?source=rss-8ec47be4fdc8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gjUutl3oO7ahfoXvtjH5Aw.jpeg</url>
            <title>Stories by Dan Buda on Medium</title>
            <link>https://medium.com/@danbuda?source=rss-8ec47be4fdc8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:01:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danbuda/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[Simple React Router Example]]></title>
            <link>https://medium.com/@danbuda/simple-react-router-example-cb370a914c90?source=rss-8ec47be4fdc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb370a914c90</guid>
            <category><![CDATA[router]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Dan Buda]]></dc:creator>
            <pubDate>Thu, 06 Jul 2017 14:42:08 GMT</pubDate>
            <atom:updated>2017-07-06T14:42:08.442Z</atom:updated>
            <content:encoded><![CDATA[<p>Just the basics of using React Router (version 2.8.1 — v4 just came out and I’ll monkey with that soon).</p><p>So you can use React Router to handle all of your navigation, and once getting used to it, it can be pretty simple (or very complex depending on your needs). So here’s the bare bones basics.</p><p>First things first, you need to have somewhere for your React app components to actually appear. We can use a simple div with an id that our React code will append to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5s9Rza48SEw-fm-REhXrQ.png" /></figure><p>Now that we have that taken care of, it’s time to create our component structure. One of the things I love about React is how easy it is to make components and bring them all together.</p><p>We’ll need to import a few things from React &amp; React Router Router to be able to make it all work. So we can:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ESDiDT14JiRYYTlVHtC_pA.png" /></figure><p>I’m going to create a main component that will be the component that “houses” the rest of our app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*20UluF8VRmj_8zMb_SE4bw.png" /></figure><p>Let’s leave it empty for now. We’ll finish it later.</p><p>So let’s say we want to just make a home page and 2 other pages we want to link to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ESsRe0HB46NDDx_QBqlmrA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sLo3EleG8i_OCosxOFk5bg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lB6wEnfGYACa120Lk7OAKQ.png" /></figure><p>So pretty basic components. Home has links to both of our other pages, and the Link pages have a Back Home link. Note that we’re using React Router’s Link and not an &lt;a&gt; tag to do this. And in our Link tags, we’ve included a to= and a path name that will be used in our Router code.</p><p>So now for the Router:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Uh37mD9YnGg7wgSIxbafw.png" /></figure><p>We use ReactDOM.render to tell our app how the navigation all fits together. It takes 2 arguments: the router code itself, and where to append it to — in this case, our HTML div that we gave the id ‘root-entry.’</p><p>Now we have to fill the Router. First, we want to use browserHistory in the main Router tag, and give our Router a starting point:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bg6PRb4IHNiOtKWS0OAwYA.png" /></figure><p>So our App component, which will house our other components, is set up as the parent route that will use the path of just “/”.</p><p>Now we can add our Home component using IndexRoute to tell our Router that Home should load first upon getting to the site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*suTe_PbUV-r2ypwmVZmazA.png" /></figure><p>The Home component/route is set up inside the App route because we want to set it as a child of App. And now we can add our 2 link pages to the router:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FKbdsXuJonu14OtUwAX1rw.png" /></figure><p>They are also added as children of the App component. So if you remember from earlier, we left our App component empty. We simply need to use “this.props.children” to tell it to use our child components we set up in the Router:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q6PTMvxCF1rk1FAMSRVsJQ.png" /></figure><p>And that’s it! You can get a lot more complex, such as adding nested routes, but this should be enough to get some simple React-style navigation up and running.</p><p>For a few working CodePen examples, <a href="http://codepen.io/danbuda/pen/zooPmO">click here</a> for one using this.props.children and <a href="http://codepen.io/danbuda/pen/WGOPbo">here</a> for one that doesn’t.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb370a914c90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ReactJS ‘getDefaultProps’ & ‘propTypes’]]></title>
            <link>https://medium.com/@danbuda/reactjs-getdefaultprops-proptypes-68ba8ca65ecb?source=rss-8ec47be4fdc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/68ba8ca65ecb</guid>
            <category><![CDATA[lifecycle]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[props]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Dan Buda]]></dc:creator>
            <pubDate>Fri, 30 Jun 2017 02:37:33 GMT</pubDate>
            <atom:updated>2017-06-30T02:37:33.324Z</atom:updated>
            <content:encoded><![CDATA[<p>So maybe it’s a relatively obscure React lifestyle event, but I finally found a practical use for `getDefaultProps`, so that’s cool.</p><p>Basically, <em>getDefaultProps</em> allows you to give your component some props which can be overridden, but in case none are given to the component somewhere else in your code, you’ll have some defaults in there.</p><p>Let’s say you have a component that uses a breakpoint to show something up until a certain screen width and shows something else at another. You can set <em>breakpoint</em> as a default prop in your component at, for example, 500px to make sure your code operates as desired.</p><p>But in another place in your code, you decide you need a different breakpoint set for a particular part. You can set a new breakpoint and pass it in as a prop which will override the default setting.</p><p>Setting a default breakpoint of 500:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fXnp31f_A-WmdZIJBz8iag.png" /></figure><p>And then on the parent component, after importing the component above (lets call it “Child”) you can pass in props to override the default:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4cBe5zj7qJS56Hu_g8wFYg.png" /></figure><p>Additionally, you can go back to the Child component and tell it what the breakpoint prop should look like with <em>propTypes</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PMusSyBbTq1GSC0pH5Ob0Q.png" /></figure><p><em>propTypes</em> can be any number of things: <em>string</em>, <em>bool</em>, <em>number</em> and more.</p><p>So there it is. A way to set some default props for a component while being able to easily override them if need be.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68ba8ca65ecb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Simple, Responsive HTML Navbar]]></title>
            <link>https://medium.com/@danbuda/a-simple-responsive-html-navbar-c9501ce45f01?source=rss-8ec47be4fdc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9501ce45f01</guid>
            <category><![CDATA[navigation]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Dan Buda]]></dc:creator>
            <pubDate>Fri, 23 Jun 2017 18:44:21 GMT</pubDate>
            <atom:updated>2017-06-23T18:44:21.541Z</atom:updated>
            <content:encoded><![CDATA[<p>This is just one example of how to create a simple responsive navbar with a few links. The navbar collapses into a dropdown menu in smaller screen sizes.</p><p>First things first, we’ll start with a simple &lt;nav&gt; tag to wrap everything, and inside that we’ll use two sets of &lt;div&gt; tags and give them class names to represent our wide and narrow screen sizes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzN_YcTvHyElPfYk8Naiyg.png" /></figure><p>Inside our div of class “navWide” we’ll put our links, wrapped in another set of &lt;div&gt; tags with a class of “wideDiv” for lack of creativity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXWaoQvAvwf8Pabw9ldNdw.png" /></figure><p>And finally, we put links inside of our “navNarrow” divs along with a “hamburger” icon (I’m a big fan of <a href="http://fontawesome.io/">Font Awesome</a>). The hamburger will show up as the clickable dropdown menu when it’s all done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L8tS48lHh83AwYZii18-Gw.png" /></figure><p>We’ll use the class names of “narrowLinks” and “hidden” later. That’s it for the HTML.</p><p>For our CSS, we’re going to start by giving our &lt;nav&gt; a few things:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2CaJZ_6sjo6zVfVb6sru9g.png" /></figure><p>overflow: hidden will keep everything where we want it when our navbar shrinks down, and padding throws in a little space around the edges.</p><p>We also want to give our “navWide” a few things as well. margin: 0 auto will center the links horizontally in the navbar, and display: none makes them disappear on smaller screens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0d9RHEFJPOm_wp2oCSijCg.png" /></figure><p>Our “wideDiv” also gets a text-align: center to center the links perfectly in the middle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9616CFpZG20gqd0EEkfMhA.png" /></figure><p>Our links in the wide nav are given a display: inline-block to make sure they show up how we want them, and a padding to separate them from each other:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WsLCXsXzG4s9tD_nsnDzvw.png" /></figure><p>Here’s where a bunch of our code comes in to make the dropdown work. I want the dropdown icon to show up on the left side of the screen, so I’ll just give it a quick float: left:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cz-qQ5y87e_Q-6H9rA65lQ.png" /></figure><p>And hide the div that wraps our narrow-screen links so they don’t show up until the icon is clicked:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tVOqu_FbmWfr3KgyEa6oHw.png" /></figure><p>For the dropdown links themselves, to make them show up as a vertical list underneath the hamburger icon, we float them to the left and also set them to display: block and clear: left so they stack on top of each other. A little padding is added to separate them a bit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DO8N1-RwdBKklY3Bkv2jNw.png" /></figure><p>Last thing in our CSS is to set a breakpoint to tell our code when to show the hamburger dropdown and when to just show the links:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FAj55Yt_KFas7-fQ5MUdaw.png" /></figure><p>At 480px screen width, the hamburger dropdown code goes away, and the wide links show up.</p><p>The last thing we need is to make our dropdown menu show up when the hamburger icon is clicked. It doesn’t take much code to do this.</p><p>We simply need to grab our “navNarrow” and “narrowLinks” classes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gj6bButcqUusBapHW7C7lA.png" /></figure><p>And listen for a click event on the “navNarrow” class, which will trigger a function called “toggle”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qT07VPNHv8tTOu4a3hZLqQ.png" /></figure><p>Finally, the “toggle” function will trigger the dropdown menu to show up or not by adding or removing the “hidden” class:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NGvKBZjNLY6T4hzfz41clQ.png" /></figure><p>That’s it! For a working CodePen will a little more styling added in, click <a href="http://codepen.io/danbuda/pen/gwPwjy">here</a>.</p><p>There’s a lot more you could add to something like this, such as how the dropdown menu slides in or out, changing the dropdown to be on the right side of the screen, etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9501ce45f01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Props & Mapping]]></title>
            <link>https://medium.com/@danbuda/react-props-mapping-3290afaaee4f?source=rss-8ec47be4fdc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3290afaaee4f</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[props]]></category>
            <category><![CDATA[mapping]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Dan Buda]]></dc:creator>
            <pubDate>Wed, 22 Feb 2017 21:21:19 GMT</pubDate>
            <atom:updated>2017-06-23T18:34:37.123Z</atom:updated>
            <content:encoded><![CDATA[<p>I like React because of how easy I find it to work with components. And when I’m working on a project that uses clickable thumbnails to send a user to a more detailed page, I really like React props.</p><p>Props are basically attributes that can be added to a component inside of the render function of a parent component. They can be pretty much anything. And for projects like I mentioned above, props are made even more powerful when combined with the map() method as I’ll show in the example below.</p><p>First things first, let’s set up 2 files. We’ll call them Parent.js and Child.js to make it easy.</p><p>Parent.js is going to be our main component, and will show a list of names. Child.js will be the component that displays those names.</p><p>So for Child.js I’m just going to set up a basic React component with empty &lt;p&gt; tags that will display first &amp; last names when it’s complete:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*WUkebYKZV1IdPrXKqzpJOA.png" /></figure><p>And Parent.js also starts out very simple. I’ve added several ChildComponents inside just as a placeholder (and don’t forget to import ChildComponent!).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*qw4OJ5wH_a6eikAYe82mHQ.png" /></figure><p>But since we want to access our names and display them with ChildComponent, we have to give that information to ChildComponent. And here’s where map() and props come in, as well as a little bit of the use of state:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*yKVd9XGOzJBV-cU3ZXjLpQ.png" /></figure><p>At the top, I’ve imported Names from a file Names.js in the same directory as ParentComponent. For this example, I’m just assuming the names data is stored in a file that looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*DWtzEZPgPgoPOMebBDZsyw.png" /></figure><p>And I’ve added a getInitialState function that sets the key “names” equal to our imported Names array. Also, I’ve removed the &lt;ChildComponent /&gt;s from the code, since I’m using map() to create those components. You’ll notice that the mapping is done OUTSIDE of the render function. That is very important.</p><p>The key/value pair that is put into each ChildComponent within the map function becomes the props for each ChildComponent.</p><p>One last thing for our ParentComponent. We need to return something, since now we just have empty &lt;div&gt; tags. We add our mapped array that we called “names” inside:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*zLDkaeSLkdZffjHit3ORnw.png" /></figure><p>So now we can go over to our ChildComponent file and finish everything up. Quite simply, we can now just use the props passed into each ChildComponent during the mapping, and our first &amp; last names will display:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*AYbY-3IfYTynYE69OKJIUA.png" /></figure><p>And that’s about it! (Unless I completely forgot something, that is.) For a working CodePen example, click <a href="http://codepen.io/danbuda/pen/XjkbkN">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3290afaaee4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A React Navbar Component]]></title>
            <link>https://medium.com/@danbuda/a-react-navbar-component-c6b4c505b281?source=rss-8ec47be4fdc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6b4c505b281</guid>
            <category><![CDATA[navbar]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[nav]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Dan Buda]]></dc:creator>
            <pubDate>Mon, 20 Feb 2017 18:18:12 GMT</pubDate>
            <atom:updated>2017-06-23T18:45:03.603Z</atom:updated>
            <content:encoded><![CDATA[<p>I use React a lot, and I use navbars a lot, so this was just an obvious one for me. This is nothing extravagant. I’m not using React Router in this example, just some &lt;a&gt; tags. But it is responsive, so that’s fun.</p><p>First things first, I need to set my entry point for my navbar in my index.html file. I’ll just insert a &lt;navbar&gt; tag inside the body:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*PiV5VMPxncUtnrEgODGJwg.png" /></figure><p>And I’m of course going to remember to first import React and ReactDOM at the top of my .js file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*X4-gpS11wOfjYga6r0vYfQ.png" /></figure><p>Now I need to create my basic React component. I’m going to give it a name of NavComponent because that just makes way too much sense, and inside the render function, toss in an empty (for now) set of &lt;nav&gt; tags to wrap around everything else that will go in there:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*joad0Nj6yQfm-kQNAfmSOQ.png" /></figure><p>And underneath all that I’m going to render the component inside the &lt;navbar&gt; tags in my index.html:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*uC-OIl7UP7HXR-TaI_mi_A.png" /></figure><p>OK, so we have a basic component that renders an empty nav. Let’s fill it in!</p><p>I’m going to create 2 sections inside my nav component, one for larger screens (className=”navWide”) and one for smaller (className=”navNarrow”). And inside each I’m adding 3 sets of &lt;a&gt; tags (with dummy links).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*dewJMYd4jiFUQ9kjizVjHg.png" /></figure><p>You’ll notice I also have an &lt;i&gt; tag just inside my “navNarrow” class div. This will give my a “hamburger” icon (courtesy of <a href="http://fontawesome.io/">Font Awesome</a>) for smaller screens that need a drop down menu.</p><p>The last thing we need to do with our .js file is make the drop down menu work. So we’ll need to create a function (burgerToggle) that makes the menu drop down and go away depending on what’s clicked. Since our dropdown menu is contained in the “narrowLinks” className, we’re going to target that in our function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*m4wrB5GQUuVIrfmEOk5X3w.png" /></figure><p>And then tell our function to toggle the drop-down based on its current CSS display value:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*4U1yvxX2qhdaFmsuUc6rjQ.png" /></figure><p>And to make the new function work, we need to give our &lt;i&gt; and &lt;a&gt; tags inside “navNarrow” an onClick:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*0XNLI6xvsqxxBv7Q9BvcqQ.png" /></figure><p>That just about wraps it up. And while there’s always styling to add, I do want to point out the important stuff.</p><p>I obviously don’t want to see both sets of links all the time, and since we’re using mobile-first design, we’re going to set our “navWide” links to hidden:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*kyeTNucbrzrXmIh535AgQg.png" /></figure><p>And we’re also going to stick our hamburger icon and drop-down links on the left side of the screen, just for funsies:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*vdPVhY_Zz8CzYS3K1d-4LA.png" /></figure><p>So by setting our icon to float: left, that’s taken care of. We’ve also set our “narrowLink” display to none so they’re hidden until our burgerToggle function kicks in. And we also styled the &lt;a&gt;’s so that they’ll show up in the drop-down menu on the left and stacked on top of each other.</p><p>And finally a media query to switch between our mobile drop-down menu and our larger screen mode with just a row of our links:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*DGXqMBARLr9NUgn9NtUjog.png" /></figure><p>For a working example, click <a href="http://codepen.io/danbuda/pen/mAVALa">here</a>. And for a non-React version of the same thing, check <a href="http://codepen.io/danbuda/pen/gwPwjy">this</a> out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6b4c505b281" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Frameworks]]></title>
            <link>https://medium.com/@danbuda/using-frameworks-3859678dad99?source=rss-8ec47be4fdc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3859678dad99</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[framework]]></category>
            <dc:creator><![CDATA[Dan Buda]]></dc:creator>
            <pubDate>Thu, 16 Feb 2017 22:57:14 GMT</pubDate>
            <atom:updated>2017-06-23T18:45:19.899Z</atom:updated>
            <content:encoded><![CDATA[<p>I started out in front end development using a pretty basic form of Webpack. It pretty much just included Babel and Sass compilers, a “start” script and React (my library of choice these days). Pretty simple.</p><p>I’ve since been dabbling with other frameworks, including <a href="https://github.com/facebookincubator/create-react-app">create-react-app</a> which I’m quickly becoming a fan of. In addition to what I’ve used in my scaled-back Webpack, create-react-app adds in a dev server with linting and hot reloading, which is a big help when checking for errors.</p><p>But I’d still like a beefier framework for larger projects. A friend of mine developed <a href="https://github.com/alarner/perk">Perk</a>, which I’ve used on several projects, especially those that need a back end. It includes Node.js for the back end stuff, linting and a dev server and makes it easy to write and run unit tests. It also has a Sass compiler unlike create-react-app and is easy to deploy to Heroku.</p><p>When I first started working with frameworks, I always thought about making the perfect one, at least for what I needed one for. But after experimenting with several, all focusing on different types and scales of projects, I think having multiple options at your disposal is a great thing.</p><p>I’m sure I’ll keep experimenting, and eventually start customizing more so that as I keep forming more preferences for what I like to use, I’ll gradually develop my own. But it’s good to know that there are a lot of great options out there already.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3859678dad99" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>