<?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 Lauchlan Chisholm on Medium]]></title>
        <description><![CDATA[Stories by Lauchlan Chisholm on Medium]]></description>
        <link>https://medium.com/@lauchlan.chisholm?source=rss-8609caa00a89------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*9sq2yir03pQigDjr023-9A.jpeg</url>
            <title>Stories by Lauchlan Chisholm on Medium</title>
            <link>https://medium.com/@lauchlan.chisholm?source=rss-8609caa00a89------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 10:27:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lauchlan.chisholm/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[React Suspense & Concurrent Mode]]></title>
            <link>https://medium.com/well-red/react-suspense-concurrent-mode-cb92e99d95e2?source=rss-8609caa00a89------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb92e99d95e2</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[react-suspense]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Lauchlan Chisholm]]></dc:creator>
            <pubDate>Tue, 12 May 2020 16:50:37 GMT</pubDate>
            <atom:updated>2020-05-12T16:50:37.619Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qe5rC9YCPHP7TGlF" /><figcaption>Photo by <a href="https://unsplash.com/@arlandscape?utm_source=medium&amp;utm_medium=referral">Harald Arlander</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The React Team has been working hard on the upcoming Concurrent Mode features. What will these features mean for the React Community?</p><p>The front end of web has been overwhelmed by JavaScript Frameworks. Just as you’ve learned one, another pops up and we start to question how long this game of “whack-a-mole” can go on for. Or at least, this has been the case for the last few years.</p><p>There have been a few that have stood from the crowd — often backed by tech giants — and they’ve all got great features to offer. Google maintained <a href="https://angular.io/">Angular</a> is a fantastic tool that shines on large projects by utilizing <a href="https://www.typescriptlang.org/">typescript</a> out-of-the-box, and treating <a href="https://github.com/tc39/proposal-observable">Observables</a> as a first class citizen. <a href="https://vuejs.org/">Vue</a> — started and maintained entirely in the Open-Source community — has incredible documentation, their own video courses, and has been adopted by the PHP framework <a href="https://laravel.com/">Laravel</a> for it’s go to front-end framework.</p><p>However, this post is about <a href="https://reactjs.org/">React</a>, and more specifically its horizon. Started and maintained at Facebook, React has a history of maintaining stable releases while also pushing out game changing features. In February of 2019, the React Team made another step toward implementing their <a href="https://github.com/acdlite/react-fiber-architecture">Fiber Architecture</a> with the release of <a href="https://reactjs.org/blog/2019/02/06/react-v16.8.0.html">“hooks”</a>. This was a fundamental shift in the way React developers produced their apps, with everything moving closer to the functional paradigm.</p><p>In a strict, academic-Computer-Science sense, JavaScript doesn’t support functional programming, but it does have the <a href="https://www.bytesized.xyz/an-introduction-to-the-basic-principles-of-functional-programming-in-javascript">properties of a dynamically typed functional language</a>. And React has been steadily moving away from the object-oriented paradigm, and towards this functional approach. It’s important to note here that React doesn’t advertise itself as a framework, in fact, the heading on their homepage is “A JavaScript library for building user interfaces”.</p><p>So, React is a <strong>library</strong> for building UI, and is becoming more functional. What does that mean from the perspective of a developer? It means that every piece of your view is just the return value of a function. It means that every data value we calculate, and every piece of business logic we derive, can be the result of a function. Since functions are just JavaScript, it means React is moving closer to its tagline of being a <strong>JavaScript</strong> library. It means: <strong>If you’re good at JavaScript, you’re good at React.</strong></p><p>This leads to the meat of this article — what is on the horizon for the React Community? <strong>Asynchronous — interruptible — rendering</strong>.</p><p>Concurrent Mode is the set of new, still experimental, features being introduced to React. These features are the next logical step in the functional, JavaScript-first, approach the React Team has been taking.</p><p>Asynchronous functions have long been a part of JavaScript, but up until this time, React has only supported synchronous rendering. When we get the release of the new Concurrent Mode features, we will see another fundamental shift in the way developers write React apps. We will be able to use asynchronous functions, and promises, to drive our rendering: unresolved promises will have a fallback, and once the promise returns a value, we’ll render the component as expected. This release will also see a dramatic improvement in the way users respond to these apps.</p><p>If you’ll recall, the React Team is sponsored by Facebook, and thus has access to the research and development Facebook performs. Having the world’s two most popular social media sites as a playground provides a lot of opportunity to learn about user interaction. One of the results of this research is outlined in the <a href="https://reactjs.org/docs/concurrent-mode-intro.html">Concurrent Mode docs</a>: “displaying too many intermediate loading states when transitioning between screens makes a transition feel <em>slower”.</em></p><p>This problem will be addressed in the new Concurrent Mode features. As mentioned before, we can use Promises to drive our rendering, but the base behaviour will ensure the user doesn’t experience too many loading states, or more importantly, that the user experiences “intentional loading sequences”.</p><p>As JavaScript grows, the spirit of that growth is engendered in the community. The move toward Concurrent Mode, and React Fiber in general, is a reflection of the React Team aligning with the JavaScript community. By integrating closer with the fundamentals of JavaScript, React is continually improving the experience of development. This allows React developers to pay that experience forward in their applications and ultimately, their users. It’s an exciting time to be a part of the JavaScript community, as we move our horizon forward.</p><p>Lauchlan did a talk on React Suspense at the <a href="https://www.meetup.com/Halifax-ReactJS-Meetup">Halifax React Meetup</a> on April 21, 2020. Check out the <a href="https://www.youtube.com/watch?v=JhEIeRN4QWo">video recording here</a>, the <a href="https://docs.google.com/presentation/d/1BvMAlK2sasAu8yD3PgPwu_NJrb2rfdgPWYSQIdsE3ok/edit#slide=id.g74c554e55b_0_0">slides used here</a>, and the <a href="https://csb-c4i54-9ccbwbs0a.now.sh/">App used in the demo here</a> (<a href="https://codesandbox.io/s/react-suspense-intro-c4i54">codesandbox</a> if you want to see the code).</p><p><a href="https://redspace.com/?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=concurrent-react"><em>REDspace</em></a><em> is a software development company that builds innovative, custom, and flexible platforms for global enterprises. We combine well-built backends with engaging front-end user experiences. </em><a href="https://redspace.com/?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=concurrent-react"><em>redspace.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb92e99d95e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/well-red/react-suspense-concurrent-mode-cb92e99d95e2">React Suspense &amp; Concurrent Mode</a> was originally published in <a href="https://medium.com/well-red">Well Red</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>