Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Flask
Flask

4.1K
3.1K
+ 1
1.1K
React Native
React Native

6K
4.9K
+ 1
896
Add tool

Flask vs React Native: What are the differences?

Flask: a microframework for Python based on Werkzeug, Jinja 2 and good intentions. Flask is intended for getting started very quickly and was developed with best intentions in mind; React Native: A framework for building native apps with React. React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.

Flask can be classified as a tool in the "Microframeworks (Backend)" category, while React Native is grouped under "Cross-Platform Mobile Development".

"Lightweight", "Python" and "Minimal" are the key factors why developers consider Flask; whereas "Learn once write everywhere", "Cross platform" and "Javascript" are the primary reasons why React Native is favored.

Flask and React Native are both open source tools. It seems that React Native with 78.3K GitHub stars and 17.5K forks on GitHub has more adoption than Flask with 44.8K GitHub stars and 12.6K GitHub forks.

According to the StackShare community, React Native has a broader approval, being mentioned in 701 company stacks & 781 developers stacks; compared to Flask, which is listed in 502 company stacks and 509 developer stacks.

What is Flask?

Flask is intended for getting started very quickly and was developed with best intentions in mind.

What is React Native?

React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Flask?
Why do developers choose React Native?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use Flask?
What companies use React Native?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Flask?
What tools integrate with React Native?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Flask and React Native?
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Tornado
By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
ExpressJS
Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
See all alternatives
Decisions about Flask and React Native
Sezgi Uluçam
Sezgi Uluçam
Sr. Software Engineer at StackShare · | 6 upvotes · 44.8K views
Flutter
Flutter
React Native
React Native
PhoneGap
PhoneGap
Apache Cordova
Apache Cordova
#NativeApps
#MobileFrameworks
#JavaScript

For a front end dev like me, using a mobile framework for side projects makes more sense than writing a native app. I had used Apache Cordova (formerly PhoneGap) before (because React Native didn't exist yet), and was happy with it. But once React Native came out, it made more sense to go that way instead. It's more efficient and smooth, since it doesn't have the simulation overhead, and has more access to hardware features. It feels cleaner since you don't need to deal with #WebView, using native UI widgets directly. I also considered Flutter . It looks promising, but is relatively new to the game, and React Native seems more stable for now.

MobileFrameworks #JavaScript NativeApps

See more
Sezgi Uluçam
Sezgi Uluçam
Sr. Software Engineer at StackShare · | 6 upvotes · 49.3K views
Android SDK
Android SDK
Android Studio
Android Studio
React Native
React Native
Xcode
Xcode
Expo
Expo

I've recently switched to using Expo for initializing and developing my React Native apps. Compared to React Native CLI, it's so much easier to get set up and going. Setting up and maintaining Android Studio, Android SDK, and virtual devices used to be such a headache. Thanks to Expo, I can now test my apps directly on my Android phone, just by installing the Expo app. I still use Xcode Simulator for iOS testing, since I don't have an iPhone, but that's easy anyway. The big win for me with Expo is ease of Android testing.

The Expo SDK also provides convenient features like Facebook login, MapView, push notifications, and many others. https://docs.expo.io/versions/v31.0.0/sdk/

See more
Apache Cordova
Apache Cordova
redux-saga
redux-saga
React Native
React Native
AngularJS
AngularJS
Redux
Redux
React
React
#JavascriptMvcFrameworks

We had contemplated a long time which #JavascriptMvcFrameworks to use, React and React Native vs AngularJS and Apache Cordova in both web and mobile. Eventually we chose react over angular since it was quicker to learn, less code for simple apps and quicker integration of third party javascript modules. for the full MVC we added Redux.js for state management and redux-saga for async calls and logic. since we also have mobile app along with the web, we can shere logic and model between web and mobile.

See more
Pierre Chapuis
Pierre Chapuis
at Pierre Chapuis · | 5 upvotes · 37.8K views
atChilliChilli
Gunicorn
Gunicorn
Python
Python
SQLAlchemy
SQLAlchemy
Hug
Hug
Flask
Flask

Unlike our frontend, we chose Flask, a microframework, for our backend. We use it with Python 3 and Gunicorn.

One of the reasons was that I have significant experience with this framework. However, it also was a rather straightforward choice given that our backend almost only serves REST APIs, and that most of the work is talking to the database with SQLAlchemy .

We could have gone with something like Hug but it is kind of early. We might revisit that decision for new services later on.

See more
Vishal Narkhede
Vishal Narkhede
Javascript Developer at getStream.io · | 19 upvotes · 65.3K views
atStreamStream
Babel
Babel
styled-components
styled-components
Expo
Expo
JavaScript
JavaScript
Chat by Stream
Chat by Stream
React Native
React Native
Stream
Stream

Recently, the team at Stream published a React Native SDK for our new Chat by Stream product. React Native brings the power of JavaScript to the world of mobile development, making it easy to develop apps for multiple platforms. We decided to publish two different endpoints for the SDK – Expo and React Native (non-expo), to avoid the hurdle and setup of using the Expo library in React Native only projects on the consumer side.

The capability of style customization is one a large deal breaker for frontend SDKs. To solve this, we decided to use styled-components in our SDK, which makes it easy to add support for themes on top of our existing components. This practice reduces the maintenance effort for stylings of custom components and keeps the overall codebase clean.

For module bundling, we decided to go with Rollup.js instead of Webpack due to its simplicity and performance in the area of library/module providers. We are using Babel for transpiling code, enabling our team to use JavaScript's next-generation features. Additionally, we are using the React Styleguidist component documentation, which makes documenting the React Native code a breeze.

See more
Gustavo Muñoz
Gustavo Muñoz
Web UI Developer at Globant · | 6 upvotes · 21.3K views
JavaScript
JavaScript
Visual Studio Code
Visual Studio Code
Android Studio
Android Studio
Dart
Dart
React Native
React Native
React
React
Flutter
Flutter
#Flare

In my modest opinion, Flutter is the future of mobile development. The framework is as important to mobile as React is to the web. And seeing that React Native does not finish taking off, I am focusing all my efforts on learning Flutter and Dart. The ecosystem is amazing. The community is crazy about Flutter. There are enough resources to learn and enjoy the framework, and the tools developed to work with it are amazing. Android Studio or Visual Studio Code has incredible plugins and Dart is a pretty straight forward and easy-to-learn language, even more, if you came from JavaScript. I admit it. I'm in love with Flutter. When you are not a designer, having a framework focused on design an pretty things is a must. And counting with tools like #flare for animations makes everything easier. It is so amazing that I wish I had a big mobile project right now at work just to use Flutter.

See more
Praveen Mooli
Praveen Mooli
Technical Leader at Taylor and Francis · | 11 upvotes · 98.5K views
MongoDB Atlas
MongoDB Atlas
Amazon S3
Amazon S3
Amazon DynamoDB
Amazon DynamoDB
Amazon RDS
Amazon RDS
Serverless
Serverless
Docker
Docker
Terraform
Terraform
Travis CI
Travis CI
GitHub
GitHub
RxJS
RxJS
Angular 2
Angular 2
AWS Lambda
AWS Lambda
Amazon SQS
Amazon SQS
Amazon SNS
Amazon SNS
Amazon Kinesis Firehose
Amazon Kinesis Firehose
Amazon Kinesis
Amazon Kinesis
Flask
Flask
Python
Python
ExpressJS
ExpressJS
Node.js
Node.js
Spring Boot
Spring Boot
Java
Java
#Data
#Devops
#Webapps
#Eventsourcingframework
#Microservices
#Backend

We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

To build #Webapps we decided to use Angular 2 with RxJS

#Devops - GitHub , Travis CI , Terraform , Docker , Serverless

See more
Vaibhav Taunk
Vaibhav Taunk
Team Lead at Technovert · | 16 upvotes · 12.6K views
Visual Studio Code
Visual Studio Code
Markdown
Markdown
Postman
Postman
React Native
React Native
Flutter
Flutter
MongoDB
MongoDB
React
React
Angular CLI
Angular CLI
.NET Core
.NET Core

I am starting to become a full-stack developer, by choosing and learning .NET Core for API Development, Angular CLI / React for UI Development, MongoDB for database, as it a NoSQL DB and Flutter / React Native for Mobile App Development. Using Postman, Markdown and Visual Studio Code for development.

See more
Interest over time
Reviews of Flask and React Native
Avatar of tonyxiao
Economics
Review ofReact NativeReact Native

Native iOS developer here. One of the most important thing React Native managed to accomplish is that it created a better single-platform development experience than the platform owner themselves did. It's faster and easier to develop a react native app than it is to develop an iOS app. And remember that react native is at the end of the day still native. So native views, native components, native modules. You get to pick and choose how much you want to be in JavaScript and how much you want to be in native.

Avatar of mjhea0
Software Engineer at TestDriven Labs
Review ofFlaskFlask

Flask is a light, yet powerful Python web framework perfect for quickly building smaller web applications. It's a "micro-framework" that's easy to learn and simple to use, so it's perfect for those new to web development as well as those looking to rapidly develop a web application.

How developers use Flask and React Native
Avatar of Jack Littleton
Jack Littleton uses FlaskFlask

I use Flask for times when I need to create a REST API that interfaces with other Python code, or there is no specific reason why I'd want to use Node.JS. I prefer Flask because of its small learning curve, allowing me to get started coding as quickly as possible

Avatar of Kurzor, s.r.o.
Kurzor, s.r.o. uses React NativeReact Native

React Native is great in that it reduces the overhead of writing native code based on a web app. If written in a good style, Redux part of the app can often just be copied or shared in the Native app - and it just works! What a timesaver.

Avatar of Cloudify
Cloudify uses FlaskFlask

This lightweight web framework enables quick REST API development while enabling easy clustering, and the usage of multiple worker processes required to scale the REST API service to meet high volume requirements.

Avatar of Ryan VanBelkum
Ryan VanBelkum uses React NativeReact Native

The framework used to write the mobile apps in this project. I've chosen this because of the "write once run all" (ios and android) mentality.

Avatar of Sail Tactics
Sail Tactics uses FlaskFlask

Service to query NOAA weather forecasts data and service to build tidal current forecast maps using AWS EC2 and Geoserver

Avatar of AmericanBibleSociety
AmericanBibleSociety uses React NativeReact Native

We are not currently using this product but we have very high interest in learning and using this for mobile apps.

Avatar of JINJA Ltd.
JINJA Ltd. uses React NativeReact Native

New features of our app are developed on React Native, so we could maintain a small dev team.

Avatar of Tana
Tana uses React NativeReact Native

100% of our mobile codebase is shared between iOS and Android. Using along with TypeScript.

Avatar of OnlineCity
OnlineCity uses FlaskFlask

Flask drives our APIs, both the Website APIs and the majority of the REST Messaging APIs

Avatar of papaver
papaver uses FlaskFlask

used flask for a few personal projects. enjoyed its simplicity and ease of use.

How much does Flask cost?
How much does React Native cost?
Pricing unavailable
Pricing unavailable