Creating an Immutable Object Graph with Immutable.js Map()

J.S. Leonard
InstructorJ.S. Leonard

Share this video with your friends

Send Tweet

Learn how to create an Immutable.Map() through plain Javascript object construction and also via array tuples.

Ahmed Ayoub
Ahmed Ayoub
~ 5 years ago

I don't like this kind of videos when the instructor forgets something like the coma in 1:38, and fix it behind the scene, then vooollaaa, everything is wow, nice awesome!

Dear instructor, it's not about how you are perfect and awesome coder.if you did something wrong, it is always useful and helpful to let the trainee know what was the problem and how he fixed it, by doing that, the trainee will learn how to debug his errors.

J.S. Leonard
J.S. Leonardinstructor
~ 5 years ago

Hi, @Ahmed! Thanks for the suggestion. I hadn't considered how that might be helpful and will be mindful of that in future videos.

Brian
Brian
~ 4 years ago

At a high level, I agree with you, as long as it is pertinent to the lesson subject in some way. If it's a "gotcha" that you might often encounter while trying to apply the lesson contents. In this case, a simply syntax issue does not seem relevant to help further the learning of Immutable.js. I don't mean to sound condescending, but you'll pick up how to deal w/ SyntaxError as you become more acquainted with JavaScript, to the point where it's immediately obvious.

HK
HK
~ 4 years ago

let map = Immutable.Map(data) ???

You should use const instead of let. that's the whole point of using immutable.js... so confusing...

Shawn Wang
Shawn Wang
~ 2 years ago

the code panel seems to be empty as of 2019 fyi