• Tuesday , 25 February 2020

ReactCasts #9 – Immutability in JavaScript

Code Canyon



In this episode I’ll talk about why immutability is important and how it can benefit you. I will draw some comparisons between JavaScript (which doesn’t treat data as immutable by default) and programming languages that have immutability built in. Finally, I will show how to make immutable operations in plain Javascript.

Episode Source Code: https://github.com/cassiozen/ReactCasts/tree/master/episode9

Babel’s Object rest spread transform: https://babeljs.io/docs/plugins/transform-object-rest-spread/

Music by www.bensound.com

Original source

3d Ocean

Related Posts

21 Comments

  1. Noel Pastrana
    February 13, 2020 at 05:40

    2020 and i'm still
    clueless what immutablejs is for lol

  2. Umar Munir
    February 13, 2020 at 05:40

    What color scheme are you using in VS Code? And what's the font?

  3. Carl Wicker
    February 13, 2020 at 05:40

    Great, thank you! 😍

  4. ninjazhu
    February 13, 2020 at 05:40

    You talk about a new list being returned but that also has a lot of overhead and if you have millions of numbers your list overhead can be larger than the number of elements itself.

  5. Mostafa Shawki
    February 13, 2020 at 05:40

    Excellent thank you 🙂
    could you tell what tool do you use in the first part for presentation (the first two minutes)?

  6. ali hassan raza
    February 13, 2020 at 05:40

    Very easy to grasp. Thanks buddy

  7. TheLollercaster
    February 13, 2020 at 05:40

    I really loved this left and right window + explanation combo! good work! It was easy to understand

  8. Juan2003gtr
    February 13, 2020 at 05:40

    which font/skin are you using?

  9. aligboyakasha
    February 13, 2020 at 05:40

    Is this the fun fun function dude?

  10. Hemant Kumar
    February 13, 2020 at 05:40

    Awesome, outstanding The explanation was very helpful.

  11. Zdenek Srb
    February 13, 2020 at 05:40

    ok now i finaly get it, thanks

  12. Alexander Alan Cahutay
    February 13, 2020 at 05:40

    Thank you man now I know what Immutability means 😀

  13. impzero
    February 13, 2020 at 05:40

    Thanks

  14. Josue Mancilla
    February 13, 2020 at 05:40

    what about Object.assign instead of spread operator?

  15. Da Moose
    February 13, 2020 at 05:40

    Wow! Incredible content on React!! I wonder why are you stopping? Plz give us more high-quality products like this on styled-components, redux saga, react reselect, react-boilerplate (this boilerplate is very complex) etc. Thanx in advance.

  16. Chandan Kumar
    February 13, 2020 at 05:40

    indebt 😀 😀 😀 😀

  17. Nyquiiist
    February 13, 2020 at 05:40

    "skills empty array, because you know, 'Jon Snow knows nothing' " lmaooo

  18. Rafał
    February 13, 2020 at 05:40

    …because John Snow knows nothing 😀 the best one 😀

  19. Elin Riahi
    February 13, 2020 at 05:40

    good work

  20. Ajay Kumar
    February 13, 2020 at 05:40

    All videos are great.

  21. Kittiphong Jittanupakon
    February 13, 2020 at 05:40

    Hi what tool did you use before 1:00? ( Typing list to node )

Leave A Comment

You must be logged in to post a comment.