Fireship · @fireship

React Native vs Flutter - I built the same chat app with both

Uploaded October 4, 2021 · Length 10:12

React Native vs Flutter - I built the same chat app with both

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.

  1. 0:00

    if you're building a cross-platform

  2. 0:01

    mobile app today there are two

  3. 0:03

    heavyweights competing for your

  4. 0:04

    mindshare in the red corner we have

  5. 0:06

    flutter from google and in the blue

  6. 0:08

    corner we have react native from

  7. 0:10

    facebook these tools can achieve the

  8. 0:11

    same fundamental goal build apps for

  9. 0:13

    multiple platforms like ios android and

  10. 0:16

    the web from a single code base but

  11. 0:18

    there's a world of difference in both

  12. 0:20

    how they work and the developer

  13. 0:21

    experience no matter which one you

  14. 0:23

    choose the other one automatically

  15. 0:24

    becomes your arch nemesis because you

  16. 0:26

    don't choose anything but the absolute

  17. 0:28

    best technology out there to figure out

  18. 0:29

    which one is best i built the exact same

  19. 0:31

    chat app with both react native and

  20. 0:33

    flutter using firebase as the back end

  21. 0:36

    in today's video we'll dive into a

  22. 0:38

    detailed side-by-side comparison of

  23. 0:40

    features tooling developer experience

  24. 0:42

    performance and of course the code by

  25. 0:44

    the end of the video you'll know exactly

  26. 0:46

    which one fits best into your ideology

  27. 0:48

    but this isn't a line by line coding

  28. 0:50

    tutorial if you want to learn how to

  29. 0:51

    build these apps from scratch i created

  30. 0:53

    two separate pro lessons on fireship

  31. 0:55

    that will teach you how to build them

  32. 0:56

    step by step let's start by comparing

  33. 0:58

    the programming languages between these

  34. 1:00

    two frameworks in react native we code

  35. 1:02

    apps in javascript with react being a

  36. 1:04

    required ui library so it's almost like

  37. 1:06

    an extension of the javascript language

  38. 1:08

    and it also supports typescript if you

  39. 1:10

    want to add a type system on top of

  40. 1:12

    javascript javascript was never really

  41. 1:14

    designed to build mobile apps so flutter

  42. 1:16

    was implemented with a different

  43. 1:17

    language called dart which is a language

  44. 1:19

    optimized for compiling to multiple

  45. 1:21

    platforms with ahead of time and just in

  46. 1:23

    time compilation that results in various

  47. 1:25

    performance advantages but it's a

  48. 1:27

    language that not many people know

  49. 1:28

    outside of flutter it has a syntax that

  50. 1:30

    somewhat resembles typescript so curly

  51. 1:33

    brace developers generally have an easy

  52. 1:34

    time getting started with it but that's

  53. 1:36

    a major question to ask yourself do i

  54. 1:38

    want to learn a whole new language or do

  55. 1:39

    i want to stick with what i already know

  56. 1:41

    now let's look at the ecosystem behind

  57. 1:42

    these frameworks they're both two of the

  58. 1:44

    most actively worked on github repos in

  59. 1:46

    the world react native comes from

  60. 1:48

    facebook which has been criticized as

  61. 1:49

    being an evil tech corporation while

  62. 1:51

    flutter comes from google which has been

  63. 1:53

    criticized for being an evil tech

  64. 1:55

    corporation building high quality

  65. 1:56

    cross-platform mobile apps is an

  66. 1:58

    extremely difficult technical challenge