<?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: Pavlo Tymchuk</title>
    <description>The latest articles on DEV Community by Pavlo Tymchuk (@letitrock).</description>
    <link>https://dev.to/letitrock</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%2F104358%2F51311171-0730-4e18-a4b5-e9a0bd3b7376.jpeg</url>
      <title>DEV Community: Pavlo Tymchuk</title>
      <link>https://dev.to/letitrock</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/letitrock"/>
    <language>en</language>
    <item>
      <title>Yarn workspaces - splitting React app by routes</title>
      <dc:creator>Pavlo Tymchuk</dc:creator>
      <pubDate>Tue, 16 Jul 2019 08:25:25 +0000</pubDate>
      <link>https://dev.to/letitrock/yarn-workspaces-splitting-react-app-by-routes-55oo</link>
      <guid>https://dev.to/letitrock/yarn-workspaces-splitting-react-app-by-routes-55oo</guid>
      <description>&lt;p&gt;Hello developers! &lt;br&gt;
I need your suggestions/help regarding the idea we had in our team. &lt;/p&gt;

&lt;p&gt;We have a massive React/Redux/Sagas application which weights a lot, so we decided to split it based on routes. But suddenly one idea came to our mind: why not to move those "split routes" code into separate yarn packages (with reducers, sagas, etc)? We thought it would be easier to manage in the future.&lt;/p&gt;

&lt;p&gt;Splitting code into multiple chunks that would be imported dynamically with Webpack also requires us to implement additional logic for importing reducers and sagas after the chunk is downloaded by the browser, but it's doable.&lt;/p&gt;

&lt;p&gt;Could you please share your thoughts on this? Does it really make sense to go this way and use yarn workspaces?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
      <category>help</category>
      <category>discuss</category>
      <category>react</category>
      <category>yarn</category>
    </item>
  </channel>
</rss>
