The next thing we're going to do is install the … eslint plugin immutable package for our project. … So in the terminal, we'll type … npm install dash dash save-dev eslint-plugin dash immutable … and hit enter, and then all have to do … is add some of these rules to our eslint rc file. … So we'll open up eslintrc.js … and add a plugins property right above rules. … Plugins, and it's going to be an array, … and then we simply add our immutable package to it. … Like this: immutable, and don't forget to add the commas. … Then, inside the rules object, … we're going to add a rule from immutable. … Specifically, we're going to use the immutable … slash no dash mutation rule. … And we're going to give it the value two … because we want eslint to treat this as an error … if it finds it, not just a warning, which would be one. … And for those of you who are wondering, … if we want to specifically disable a rule, … we could set this value to zero like this. … But we're going to leave it as two. …
- The goal of functional programming
- Declarative vs. imperative programming
- Ensuring immutability
- Arrow functions in ES6
- Passing functions as arguments
- Mapping, filtering, slicing, sorting, and reducing
- Advanced functional concepts, including recursion
Skill Level Intermediate
1. Introductory Functional Concepts
2. First-Class Functions
4. Advanced Functional Concepts
5. Code Conversion Challenges
Next steps1m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.