<?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 David Finkelstein on Medium]]></title>
        <description><![CDATA[Stories by David Finkelstein on Medium]]></description>
        <link>https://medium.com/@david_finkelstein?source=rss-c7d6df427000------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MvogwkXRUgisrcWQ-afqJQ.jpeg</url>
            <title>Stories by David Finkelstein on Medium</title>
            <link>https://medium.com/@david_finkelstein?source=rss-c7d6df427000------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 24 May 2026 12:51:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@david_finkelstein/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[Make it better — work with react-select]]></title>
            <link>https://medium.com/@david_finkelstein/make-it-better-work-with-react-select-f96376e92be9?source=rss-c7d6df427000------2</link>
            <guid isPermaLink="false">https://medium.com/p/f96376e92be9</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react-select]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[David Finkelstein]]></dc:creator>
            <pubDate>Tue, 04 Dec 2018 11:44:33 GMT</pubDate>
            <atom:updated>2018-12-04T11:44:33.061Z</atom:updated>
            <content:encoded><![CDATA[<h3>Make it better — work with react-select</h3><p>React-select is a wonderful library that comes with great UI and user experience that lets you easily use a drop-down selector with a lot of different kinds of options ( for example multi-select, async options, etc…)</p><p>The problem I found is that you can’t use a “select all” option — because it does not exist.</p><p>In this article, I’ll show you how to add this option without mutating the library itself.</p><p>First of all, you need to install react-select:</p><pre>$ npm install react-select</pre><p>after you did so, you should import the library.</p><p>Follow the instructions:</p><ol><li>import the library :</li></ol><pre>$ import Select from &#39;react-select&#39;</pre><p>2. create a JSX file or TSX file according to your project’s scheme ( in this article I’m using typescript so I’m using TSX) :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7403803a37194433fe2a9e960ce1cbe0/href">https://medium.com/media/7403803a37194433fe2a9e960ce1cbe0/href</a></iframe><p>3. In the Select’s onChange function we want to validate the last option that was selected and calculate the next options:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/218947d71ce4606d571e6ce52cce577b/href">https://medium.com/media/218947d71ce4606d571e6ce52cce577b/href</a></iframe><p>If this article helped you, please recommend it to others by hitting the clap, and follow me on <a href="https://medium.com/@david_finkelstein">Medium</a> for more articles and tips.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f96376e92be9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>