reactnative

Flutter vs. React Native

Flutter vs. React Native

Flutter vs. React Native: A Comprehensive 2024 Comparison When deciding on a framework for cross-platform mobile app development, it's essential to consider multiple factors. This detailed comparison between Flutter and React Native covers various aspects, including learning curve, ease of deployment, scalability, performance, popularity, community support, libraries, and more. By the end of this article, you'll have a clearer understanding of which framework might be best suited for your needs. 1. Learning Curve Flutter:Flutter uses Dart, a language designed by Google that's relatively easy to learn, especially for those with experience in object-oriented programming. Dart's syntax is straightforward, making it…
Read More
Folder Structure of a React Native App

Folder Structure of a React Native App

Introduction React Native is a powerful framework for building mobile applications using JavaScript and React. As you dive into developing with React Native, it's essential to understand the structure of a typical React Native project. Each folder and file has a specific purpose, and knowing their roles will help you manage and navigate your project more efficiently. This article provides a comprehensive overview of the folder structure of a React Native app, focusing on the contents and purposes of the main directories: the root directory, the android/ folder, and the ios/ folder. Root Directory The root directory of a React…
Read More
OTA updates in React Native

OTA updates in React Native

Hi there, it's been a long time since I have written a blog on React Native. Today I just want to explain what OTA updates are and how you can use them in your React Native project. We will deep dive into OTA updates, advantages, and challenges you may face while dealing with this. Disclaimer This blog covers some advanced topics from my experience building various apps. If you're new to React Native, some parts might be hard to understand, and that's okay. Everyone starts somewhere. Feel free to ask questions or share your thoughts in the comments section. The…
Read More
Integrating React Native with GraphQL: A Comprehensive Guide

Integrating React Native with GraphQL: A Comprehensive Guide

Heys devs! React Native is a powerful tool for developing cross-platform mobile applications, while GraphQL offers a flexible and efficient approach to consuming APIs. Together, they can make app development faster and less error-prone. In this post, we will explore how to set up and use GraphQL in a React Native application with TypeScript, including installation, code examples (queries and mutations), tests, and best practices. Installation 1. Setting Up the Environment First, ensure you have your React Native development environment set up. If you haven't done this yet, follow the instructions in the official documentation to configure the React Native…
Read More
Creating Chat Bubbles with curls in React Native (svg)

Creating Chat Bubbles with curls in React Native (svg)

Recently, while working on a project, I needed to create a chat feature with a UI similar to iMessage. When I reached the part where I had to implement the curls, I considered three options: One: Use before and after pseudo element. (Challenge: pseudo classes and element do not work in react-native, hence option 2) Two: Use two Views one for the curl and another to overlap it. Something like this <View style={styles.chatBubble}> <Text style={styles.text}> Hey whats up </Text> <View style={styles.curl}></View> <View style={styles.curlOverlap}></View> </View> Enter fullscreen mode Exit fullscreen mode Three: Use an Svg. Less work :) yay! Initially, I…
Read More
React Native Speed Math App

React Native Speed Math App

Hello Everyone, I'm back after 1 year and 4 months.This time with react native project. Let's start the projectI created this project with Expo and used used Expo Router for routing.Create a new folder and open the terminal and run this command npx create-expo-app@latest Enter fullscreen mode Exit fullscreen mode After running this command successfully, You can remove the boilerplate code and start fresh with a new project. Run the following command to reset your project: npm run reset-project Enter fullscreen mode Exit fullscreen mode Before jumping to the code, let's understand the functionality of our app.When the user is…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.