<?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 vixita markana on Medium]]></title>
        <description><![CDATA[Stories by vixita markana on Medium]]></description>
        <link>https://medium.com/@vixitamarkana11?source=rss-1c3b15e315cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pD0_HtuYQRMEAFW2.jpg</url>
            <title>Stories by vixita markana on Medium</title>
            <link>https://medium.com/@vixitamarkana11?source=rss-1c3b15e315cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:40:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vixitamarkana11/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[Edge-to-Edge Display in React Native]]></title>
            <link>https://medium.com/simform-engineering/edge-to-edge-display-in-react-native-ed7a458fe904?source=rss-1c3b15e315cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed7a458fe904</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[full-screen-display]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[edge-to-edge]]></category>
            <category><![CDATA[android-15]]></category>
            <dc:creator><![CDATA[vixita markana]]></dc:creator>
            <pubDate>Wed, 19 Nov 2025 12:16:10 GMT</pubDate>
            <atom:updated>2025-11-19T12:16:10.718Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Make your React Native UI feel modern and immersive</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C1dIqNikrGRaCJXIkP_SIw.png" /></figure><p>In modern app development, edge-to-edge design is essential for delivering immersive and visually appealing user experiences. By effectively utilizing screen space, adhering to safe areas, and implementing dynamic layouts, developers can ensure content seamlessly extends to the screen edges across various devices and sizes.</p><p>Implementing <strong>edge-to-edge display handling</strong> creates a modern, visually engaging UI that maximizes screen space and removes unnecessary borders. It follows adaptive design principles, enhances navigation, and aligns with Android platform standards — delivering a polished and professional experience.</p><p>Beginning with <strong><em>Android 15</em></strong>, apps targeting <strong><em>API 35</em></strong> will have edge-to-edge mode enforced. This means the status bar at the top and the gesture navigation bar at the bottom will be transparent by default, creating a look that many users favor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01MrpLiWpn3u_bANKyzYGA.gif" /><figcaption>GIF by medium</figcaption></figure><h4>What is Edge-to-Edge Display Handling?</h4><p>Edge-to-edge display handling involves designing UI components that span the entire screen, taking full advantage of available space. By removing unnecessary padding, content visibility is maximized, and system UI elements, such as navigation bars, status bars, and gestures, are seamlessly integrated.</p><h4><strong>How to Handle Edge-to-Edge Displays:</strong></h4><h4><strong>1. Using SafeAreaView:</strong></h4><p>Modern devices’<strong> </strong><em>notches, rounded corners, and gesture areas </em>can affect important UI elements. Using safe areas ensures that your content stays perfectly positioned and doesn’t overlap with these system components, maintaining a clean and seamless user experience.</p><p>Utilize SafeAreaView from<a href="https://www.npmjs.com/package/react-native-safe-area-context"> react-native-safe-area-context</a> and implement WindowInsets to adjust the UI dynamically.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c11c65b89179f65f02ed34254975d4e6/href">https://medium.com/media/c11c65b89179f65f02ed34254975d4e6/href</a></iframe><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*6kbIZcCnujdPIuD6amuB_g.gif" /><figcaption>Using SafeAreasView</figcaption></figure><h4>2. Handling Statusbar:</h4><p>To create a truly immersive experience, apps should properly manage the statusBar. Implement transparent status bars while ensuring readability.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6e9df8f85808eaad4d50815707fc8625/href">https://medium.com/media/6e9df8f85808eaad4d50815707fc8625/href</a></iframe><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*YYh1O3EeFA6PsFcW7jl02w.gif" /><figcaption>Handling Statusbar</figcaption></figure><h4>3. Using the react-native-edge-to-edge library:</h4><p>The <a href="https://www.npmjs.com/package/react-native-edge-to-edge">react-native-edge-to-edge</a> library is a React Native solution that enables true edge-to-edge display functionality, allowing your app content to extend seamlessly under system UI elements like the <em>status bar</em> and <em>navigation bar</em>. This creates a more immersive and modern user experience that takes full advantage of the device&#39;s screen real estate.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/962880b9c5659ad28d0ce711f0a0f8c2/href">https://medium.com/media/962880b9c5659ad28d0ce711f0a0f8c2/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/221f21f74e284016d6ca96375f60553a/href">https://medium.com/media/221f21f74e284016d6ca96375f60553a/href</a></iframe><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*wZC_l60t3869eLHkXqQ7yw.gif" /><figcaption>Edge To Edge</figcaption></figure><h4>4. Using Immersive mode:</h4><p>Immersive mode represents the pinnacle of edge-to-edge design, where system UI elements (status bar, navigation bar) are either completely hidden or displayed as translucent overlays. This creates a truly full-screen experience where your app content becomes the primary focus.</p><blockquote><strong><em>Android 15’s Edge-to-Edge Enforcement</em></strong></blockquote><p>With Android 15, Google has made edge-to-edge display mandatory for all apps targeting API level 35+. This means:</p><p><strong>Automatic Behavior</strong>: Apps automatically draw behind system bars, whether they’re prepared for it or not.<br><strong>Inset Responsibility</strong>: Developers must handle window insets properly to prevent content from being obscured.<br><strong>Visual Consistency</strong>: All apps will have a consistent, modern appearance across the Android ecosystem.</p><h4>Types of Immersive Implementation:</h4><p><strong>1. Sticky Immersive Mode:</strong></p><ul><li>System UI hides but reappears with user interaction</li><li>Perfect for reading apps or media consumption</li><li>Provides a temporary distraction-free experience</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c39ea93eed1c2acd9097b0aaea67777/href">https://medium.com/media/2c39ea93eed1c2acd9097b0aaea67777/href</a></iframe><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*ceQ1AK-7AJD0y1L4sEGyYA.gif" /><figcaption>Sticky Immersive Mode</figcaption></figure><p><strong>2. Lean Back Mode:</strong></p><ul><li>System UI hides but returns automatically after user interaction</li><li>Ideal for games or interactive content</li><li>Balances immersion with accessibility</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d6187be117d7c7dc3856c5abd5d6623e/href">https://medium.com/media/d6187be117d7c7dc3856c5abd5d6623e/href</a></iframe><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*pPYXUqNxy-Yshmd92Un2zA.gif" /><figcaption>Lean Back Mode</figcaption></figure><p><strong>3. Translucent System Bars:</strong></p><ul><li>System UI remains visible but translucent</li><li>Content flows seamlessly behind bars</li><li>Maintains system functionality while maximizing the content area</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cf9c6d554fc6a1921d6a5273fa6c2e56/href">https://medium.com/media/cf9c6d554fc6a1921d6a5273fa6c2e56/href</a></iframe><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*JGMHL8Z621xUlgGi6M1Bsw.png" /><figcaption>Translucent System Bars</figcaption></figure><h4>Advantages of Edge-to-Edge Display Handling:</h4><h4>1. Enhanced User Experience</h4><p>A seamless, full-screen experience makes applications feel more modern, engaging, and visually appealing.</p><h4>2. Maximized Screen Real Estate</h4><p>By removing unnecessary<em> padding</em> and <em>bezels</em>, more content is visible without cluttering the UI.</p><h4>3. Better Immersion for Media and Games</h4><p>Edge-to-edge displays are particularly beneficial for apps that involve media consumption, gaming, and reading.</p><h4>4. Future-Proofing for New Devices</h4><p>As newer devices continue to minimize bezels and emphasize full-screen UIs, properly handling edge-to-edge displays ensures compatibility with future hardware.</p><h4>5. Improved Aesthetic Appeal</h4><p>A full-screen UI with well-managed safe areas enhances design consistency and delivers a polished look.</p><h3>Conclusion:</h3><p>In modern UI/UX design, edge-to-edge display handling is essential. By implementing <strong>safe areas</strong>, managing <strong>system bars</strong>, adapting to different <strong>screen sizes</strong>, and optimizing <strong>touch areas</strong>, developers can create immersive and efficient user experiences.</p><p>These practices ensure that the interface is not only visually appealing but also functional️ across various devices and orientations. This approach enhances <strong>visual appeal</strong>, <strong>accessibility</strong>, and <strong>relevance</strong> in today’s evolving <strong>digital landscape</strong>.</p><h4><strong><em>For the complete source code, check out the </em></strong><a href="https://github.com/vixita-markana/edge-to-edge-display-demo"><strong><em>GitHub repository.</em></strong></a></h4><blockquote><strong><em>For more updates on the latest tools and technologies, follow the </em></strong><a href="https://medium.com/simform-engineering"><strong><em>Simform Engineering</em></strong></a><strong><em> blog.</em></strong></blockquote><blockquote><strong><em>Follow Us: </em></strong><a href="https://twitter.com/simform"><strong><em>X</em></strong></a><strong><em> | </em></strong><a href="https://www.linkedin.com/company/simform/"><strong><em>LinkedIn</em></strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed7a458fe904" width="1" height="1" alt=""><hr><p><a href="https://medium.com/simform-engineering/edge-to-edge-display-in-react-native-ed7a458fe904">Edge-to-Edge Display in React Native</a> was originally published in <a href="https://medium.com/simform-engineering">Simform Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redux-Saga with TypeScript in React Native application]]></title>
            <link>https://medium.com/simform-engineering/redux-saga-with-typescript-in-react-native-application-d4b9b62d9a62?source=rss-1c3b15e315cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4b9b62d9a62</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[redux]]></category>
            <category><![CDATA[saga]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[redux-saga]]></category>
            <dc:creator><![CDATA[vixita markana]]></dc:creator>
            <pubDate>Mon, 18 Sep 2023 16:50:26 GMT</pubDate>
            <atom:updated>2023-09-19T06:15:55.126Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Supercharge your React Native app with Redux-Saga and TypeScript</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5emN40D3nxWlPPhaSuva9w.png" /></figure><p>Redux is an excellent state management framework, usually used with React Native. But have you thought about Redux-Saga?</p><p>In this blog post, we will discuss how to use Redux-Saga with TypeScript.</p><p>But first things first.</p><h4>What is Saga?</h4><p>Saga is <strong>middleware</strong> used for managing complex asynchronous processes, preventing unnecessary API calls, better handling of failures, and making it easier to test.</p><p>Additionally, Saga acts as a separate thread to your application, listening for specific actions from your main application to perform complex asynchronous tasks and updating your application’s state once it is completed. We can organise side effects (i.e., talking to a backend server, impure things like accessing the browser cache, etc.) in a way that is easier to manage, more efficient to execute, and easier to run.</p><p>Redux-Saga is used for large applications with complex logic. However, it is unnecessary for smaller applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M01PALl3PcVU3B-lHSalLA.gif" /><figcaption>Flow of Redux-Saga | GIF by <a href="https://medium.com/@aksudupa11/redux-sagas-714370b61692"><strong>Chirpy_me</strong></a></figcaption></figure><p>TypeScript extends JavaScript by adding data types, classes, and other object-oriented features with type-checking. It is a typed superset of JavaScript that compiles into plain JavaScript.</p><p>Before we embark on this Redux-Saga adventure, let’s ensure we’re well-equipped.</p><p>Here’s a quick checklist of the essential libraries you’ll need:</p><ul><li><a href="https://redux.js.org/">redux</a></li><li><a href="https://redux-saga.js.org/">redux-saga</a></li><li><a href="https://www.npmjs.com/package/apisauce">apisauce</a></li><li><a href="https://www.npmjs.com/package/reduxsauce">reduxsauce</a></li></ul><p>Now, let’s create a project and install the dependencies.</p><h3><strong>Create a React Native application</strong></h3><p>Let’s create a project in TypeScript using the below command:</p><pre>npx react-native init AwesomeProject</pre><ul><li><strong>Install redux and redux-saga</strong></li></ul><p>To manage the state and achieve side effects, install the necessary dependencies:</p><pre>yarn add redux react-redux redux-saga</pre><ul><li><strong>Install Dev Dependencies</strong></li></ul><p>Install the TypeScript dev dependencies using the following command:</p><pre>yarn add --dev @types/react-redux @types/redux-saga</pre><ul><li><strong>Install apisauce / reduxsauce</strong></li></ul><p>apisauce is a low-fat wrapper for the amazing axios http client library built with TypeScript.</p><p>reduxsauce is used to create the reducer, and it is a library that provides concise methods for writing action, creators, and reducers.</p><pre>yarn add apisauce reduxsauce</pre><h3><strong>A User Sign-in Example</strong></h3><p><strong>Here are the key steps we’ll follow:</strong></p><p>✓ <em>Create Action</em></p><p>✓ <em>Create Reducer</em></p><p>✓ <em>Create Store</em></p><p>✓ <em>Create Saga</em></p><p>✓ <em>Create Root-Saga</em></p><h4><strong>Step 1: Create Action</strong></h4><p>We will use the createAction method to create our actions and return creators and their corresponding types.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e48ccf982cc99187e15cbb32c14a49c7/href">https://medium.com/media/e48ccf982cc99187e15cbb32c14a49c7/href</a></iframe><p>The argument of createAction is an object, and the keys are the names of the action. The value is an array of strings that is the name of the payload, or null if there is no payload.</p><p>There are three types of actions to call the APIs. Each action has a specific role — send a request to API with a payload (signInRequest), celebrate successful response (signInSuccess), and handle failures (signInFailure).</p><h4><strong>Step 2: Create Reducer</strong></h4><p>A reducer is a pure function that contains the business logic to produce a state. It accepts the initial state and returns a new state with a computed value.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2ee65d2c8e1be0c80fd06e31f43ff8aa/href">https://medium.com/media/2ee65d2c8e1be0c80fd06e31f43ff8aa/href</a></iframe><p>The first argument of a createReducer is the <strong>initial state</strong> of the Redux store, while the second argument is an object. The object keys, which are all action types, should be capitalized and separated by underscores.</p><p>The initial object has three properties: data, error, and fetching. The data is used for API success response, the error is used for API failure response, and fetching is a loading state for API calls.</p><p>If we use Redux-Saga with TypeScript, we need to specify the type of every action.</p><h4><strong>Step 3: Create Store</strong></h4><p>A store is an object form that contains the application state tree. We can change the store by dispatching an action.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/845da824b1543c85bbf58a1aeef145a2/href">https://medium.com/media/845da824b1543c85bbf58a1aeef145a2/href</a></iframe><p>We’ll create a Redux middleware using the createSagaMiddleware method and connect our Sagas to the Redux store.</p><blockquote>The run method can be used to run Saga only after the applyMiddleware phase.</blockquote><p>The createStore<strong> </strong>function’s first argument is a combine-all reducer, and the second is the application&#39;s middleware.</p><p>We can add one or more middleware in the applyMiddleware function.</p><h4><strong>Step 4: Create Saga</strong></h4><p>So, here we will use the generator function to handle side effects from the fetch request.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c1edfcc57b8adcbffe74f78e6251905/href">https://medium.com/media/2c1edfcc57b8adcbffe74f78e6251905/href</a></iframe><blockquote>A <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction">generator</a> function is defined using the function* expression, and the yield* operator is used to delegate to the generator function.</blockquote><blockquote>The yield operator is used to pause and resume a generator function.</blockquote><p>In TypeScript, we need to provide the types of every API response to use the ApiResponse interface imported from the apisauce library.</p><p>If we use the signInUser function as a generator, we don’t need to use promises.</p><p>The Redux-Saga includes methods such as call, put, take, fork, and select. The put method is used for dispatching store actions, and the call method is used for calling a promise and waiting until the promise is fulfilled.</p><p>Here is the successful response from the sign-in API:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I9wLbYNaF22M-ahXgiue0g.png" /><figcaption>Sign-in API Response</figcaption></figure><ul><li><strong>Create Root-Saga</strong></li></ul><p>The apisauce provides numerous methods such as get, post, put, delete, head, etc.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d2c73027bd18a7f93cdb2f4e9753cf4c/href">https://medium.com/media/d2c73027bd18a7f93cdb2f4e9753cf4c/href</a></iframe><p>After creating a saga, we will import all sagas associated with our application and create a root saga.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce7445d2bd6eb14b202a3bdfbc1d6646/href">https://medium.com/media/ce7445d2bd6eb14b202a3bdfbc1d6646/href</a></iframe><p>We can use the all() method to execute multiple effects simultaneously while waiting for them to finish, similar to a Promise.all() function.</p><p>There are many methods of Redux-Saga, such as take, takeEvery, takeLatest, cancel, and cancelled. The takeLatest method works when an action is dispatched to the store. If a pattern is matched, then a new saga is started in the background.</p><p>Consider a scenario where a user clicks the sign-in button multiple times and a saga task has already been started. In this case, the previous task is automatically canceled by yield cancel,<strong> </strong>allowing the latest saga to take precedence.</p><p>We can use the store in the root file to be used on all screens.</p><p>The App.tsx file looks like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7afce00277ddb249bd347c7cf1b819d7/href">https://medium.com/media/7afce00277ddb249bd347c7cf1b819d7/href</a></iframe><p>We can fetch the data using useSelector, and use useDispatch for dispatching actions.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/10e71845fa10b3592d0feaf6295ebdcc/href">https://medium.com/media/10e71845fa10b3592d0feaf6295ebdcc/href</a></iframe><p>We have separated the auth selector into different states, such as getLoading, getError, and getUser.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b80a9512d16537bed6cb0b8c6fe06c96/href">https://medium.com/media/b80a9512d16537bed6cb0b8c6fe06c96/href</a></iframe><p>In the SignInScreen, we can call the API and use a selector to fetch the API data.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0dff6477d23322b1436ba25545edd100/href">https://medium.com/media/0dff6477d23322b1436ba25545edd100/href</a></iframe><p>The types interface is located in the Types.ts file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/75b1bff7abe2e40f3b69e623da37cea8/href">https://medium.com/media/75b1bff7abe2e40f3b69e623da37cea8/href</a></iframe><h3>Over to You</h3><p>Redux-Saga is more efficient in dealing with complex use cases. It improves error handling, simplifies testing, and can handle multiple tasks simultaneously without waiting for any of them to finish, making it a more robust solution for managing asynchronous Redux operations.</p><p><strong><em>For the complete source code, check out the </em></strong><a href="https://github.com/vixita-markana/redux-saga-demo"><strong><em>GitHub repository</em></strong></a><strong><em>.</em></strong></p><blockquote><strong><em>For more updates on the latest tools and technologies, follow the </em></strong><a href="https://medium.com/simform-engineering"><strong><em>Simform Engineering</em></strong></a><strong><em> blog.</em></strong></blockquote><blockquote><strong><em>Connect with us: </em></strong><a href="https://twitter.com/simform"><strong><em>Twitter</em></strong></a><strong><em> | </em></strong><a href="https://www.linkedin.com/company/simform/"><strong><em>LinkedIn</em></strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4b9b62d9a62" width="1" height="1" alt=""><hr><p><a href="https://medium.com/simform-engineering/redux-saga-with-typescript-in-react-native-application-d4b9b62d9a62">Redux-Saga with TypeScript in React Native application</a> was originally published in <a href="https://medium.com/simform-engineering">Simform Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>