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

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
~ 8 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. Leonardinstructor
~ 8 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
~ 8 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
~ 7 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
~ 6 years ago

the code panel seems to be empty as of 2019 fyi