Fireship · @fireship

Flutter for the JS Developer

Uploaded January 22, 2019 · Length 13:43

Flutter for the JS Developer

Summary

A JavaScript developer's introduction to Flutter, comparing its developer experience and app quality to React Native and Ionic.

  • flutter for js developers
  • flutter vs react native
  • flutter vs ionic
  • dart programming language
  • mobile app development
  • cross-platform development

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    [Music]

  2. 0:06

    hi I'm a JavaScript developer and my

  3. 0:09

    passion is building things for the web

  4. 0:11

    so when it comes to building native

  5. 0:12

    mobile apps javascript has always felt

  6. 0:14

    like the best tool for the job either

  7. 0:16

    via ionic cordova or react native but

  8. 0:18

    flutter has blown my mind recently both

  9. 0:20

    in terms of the developer experience and

  10. 0:22

    the quality of the apps that it can

  11. 0:23

    produce if you're a JavaScript developer

  12. 0:25

    who's heard rumors about flutter and

  13. 0:26

    looking to get acquainted this is the

  14. 0:28

    video for you if you're new here like

  15. 0:30

    and subscribe and you can grab the full

  16. 0:32

    write-up and source code from fire ship

  17. 0:33

    I know first we'll talk about the

  18. 0:35

    trade-offs then we'll look at the

  19. 0:37

    flutter project structure compared to

  20. 0:39

    react native and ionic

  21. 0:40

    then we'll compare the dart programming

  22. 0:42

    language to JavaScript then we'll finish

  23. 0:44

    up by cloning a couple of react native

  24. 0:45

    components as flutter widgets flutter

  25. 0:48

    may or may not be the right tool for the

  26. 0:49

    job everything in life is a trade-off

  27. 0:51

    and there are a couple of big trade-offs

  28. 0:52

    with flutter right off the bat the first

  29. 0:54

    one is the learning curve so if you're

  30. 0:56

    already a web developer or JavaScript

  31. 0:57

    developer you can basically just jump

  32. 0:59

    right into an ionic or react native

  33. 1:01

    project without any learning curve

  34. 1:02

    another potential drawback is the size

  35. 1:04

    of the community coding boot camps are

  36. 1:06

    churning out new JavaScript developers

  37. 1:07

    every day so it's a lot easier to source

  38. 1:09

    talent for your project and the truth is

  39. 1:11

    companies using hybrid frameworks are

  40. 1:13

    generally doing so to save time and

  41. 1:14

    money now while I said there's a

  42. 1:16

    learning curve that learning curve is

  43. 1:17

    pretty gentle this comment says it all

  44. 1:19

    javascript is my wife dart is my

  45. 1:21

    mistress but dart isn't ahead of time

  46. 1:23

    compiled language so it brings something

  47. 1:24

    else to the table performance its engine

  48. 1:26

    is written in C++ and when you have to

  49. 1:28

    make a lot of callbacks to the native

  50. 1:30

    system it's just going to perform better

  51. 1:31

    than a JavaScript bridge it can also

  52. 1:33

    integrate existing native code it can do

  53. 1:35

    hot reloads during development and it

  54. 1:37

    has some of the best documentation that

  55. 1:39

    I've seen for any framework period I'm

  56. 1:41

    in the process of building my own

  57. 1:42

    flutter app for fire ship IO and while

  58. 1:45

    it's not a silver bullet that's just

  59. 1:46

    going to make app development easy you

  60. 1:47

    might be pleasantly surprised and

  61. 1:49

    refreshed if you're a full-time j/s

  62. 1:51

    developer let's go ahead and fade out

  63. 1:52

    the music and start looking at some code

  64. 1:54

    I want to start with just a baseline

  65. 1:56

    comparison of the project structure to

  66. 1:58

    react native and ionic the baseline app