Fireship · @fireship
React Native vs Flutter - I built the same chat app with both
Uploaded October 4, 2021 · Length 10:12
Summary
A developer compares and contrasts React Native and Flutter by building the same chat app with both, discussing features, tooling, developer experience, performance, and code.
- react native vs flutter
- cross-platform mobile app development
- flutter vs react native
- mobile app development comparison
- chat app development
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
if you're building a cross-platform
- 0:01
mobile app today there are two
- 0:03
heavyweights competing for your
- 0:04
mindshare in the red corner we have
- 0:06
flutter from google and in the blue
- 0:08
corner we have react native from
- 0:10
facebook these tools can achieve the
- 0:11
same fundamental goal build apps for
- 0:13
multiple platforms like ios android and
- 0:16
the web from a single code base but
- 0:18
there's a world of difference in both
- 0:20
how they work and the developer
- 0:21
experience no matter which one you
- 0:23
choose the other one automatically
- 0:24
becomes your arch nemesis because you
- 0:26
don't choose anything but the absolute
- 0:28
best technology out there to figure out
- 0:29
which one is best i built the exact same
- 0:31
chat app with both react native and
- 0:33
flutter using firebase as the back end
- 0:36
in today's video we'll dive into a
- 0:38
detailed side-by-side comparison of
- 0:40
features tooling developer experience
- 0:42
performance and of course the code by
- 0:44
the end of the video you'll know exactly
- 0:46
which one fits best into your ideology
- 0:48
but this isn't a line by line coding
- 0:50
tutorial if you want to learn how to
- 0:51
build these apps from scratch i created
- 0:53
two separate pro lessons on fireship
- 0:55
that will teach you how to build them
- 0:56
step by step let's start by comparing
- 0:58
the programming languages between these
- 1:00
two frameworks in react native we code
- 1:02
apps in javascript with react being a
- 1:04
required ui library so it's almost like
- 1:06
an extension of the javascript language
- 1:08
and it also supports typescript if you
- 1:10
want to add a type system on top of
- 1:12
javascript javascript was never really
- 1:14
designed to build mobile apps so flutter
- 1:16
was implemented with a different
- 1:17
language called dart which is a language
- 1:19
optimized for compiling to multiple
- 1:21
platforms with ahead of time and just in
- 1:23
time compilation that results in various
- 1:25
performance advantages but it's a
- 1:27
language that not many people know
- 1:28
outside of flutter it has a syntax that
- 1:30
somewhat resembles typescript so curly
- 1:33
brace developers generally have an easy
- 1:34
time getting started with it but that's
- 1:36
a major question to ask yourself do i
- 1:38
want to learn a whole new language or do
- 1:39
i want to stick with what i already know
- 1:41
now let's look at the ecosystem behind
- 1:42
these frameworks they're both two of the
- 1:44
most actively worked on github repos in
- 1:46
the world react native comes from
- 1:48
facebook which has been criticized as
- 1:49
being an evil tech corporation while
- 1:51
flutter comes from google which has been
- 1:53
criticized for being an evil tech
- 1:55
corporation building high quality
- 1:56
cross-platform mobile apps is an
- 1:58
extremely difficult technical challenge


