
Install lodash through cdn, local script, or webpack bundling, then verify functionality with simple checks and switch between global usage and module imports.
Explore lodash's each method and contrast it with native forEach. Iterate over arrays and objects, accessing item and index, and collect results in a new array, showcasing lodash's versatility.
Explore the Lodash map method to transform arrays and objects into new arrays, using a function or a key shorthand to extract ids or names in a declarative, immutable style.
Learn to normalize backend user data by mapping over an array, convert underscored first_name to camel case, drop status, and derive isActive from status.
Learn how to use lodash filter to extract array items by a condition, such as numbers less than three or users named John, noting it always returns an array.
Build a search products function using the filter method on a products array to return items whose name contains the search value. Use lodash includes to ensure cross-browser compatibility.
Learn how Lodash find returns the first element that matches a condition, unlike filter; see examples with users and object shorthand, and note it returns undefined if not found.
Learn how to remove items from arrays in lodash using without, remove, and reject, noting that without does not mutate, while remove mutates and reject simplifies removals compared with filter.
Learn to implement get popular users with lodash by filtering active users with more than 100 likes, and compare filter versus reject for readability.
Explore Lodash every and some to check conditions across a user array, verifying all users are active or at least one is active, using predicates and shorthand.
Sort arrays with lodash using the order by function to sort by likes and then by name, with ascending and descending directions for multi-property sorting.
Group data with lodash by the is active property to form true and false user groups, and compare this to a plain JavaScript reduce approach.
Learn to chain lodash methods to process data from start to finish: filter active users, sort by age, map messages, and unwrap with value.
Explore getting parts of arrays with Lodash by using head, tail, last, and initial, and learn how chain enhances readability while preserving immutability.
Learn to convert strings to upper case and to lower case in lodash using to lower case and to upper case, both in plain code and inside a chain.
Explore lodash's split and join within a chain to parse and reassemble strings, then use head and toUpper to extract and transform the first segment.
Build a slug generator in lodash by chaining operations to lower-case, split by spaces, join with dashes, and URL-encode the result for safe usage.
Learn how to build a Lodash capitalize function by getting a lower stream, taking the first letter, using tail and chain, and then capitalizing to produce the final value.
Explore using lodash to convert strings to kebab, camel, and snake case, handling input with dashes, spaces, or underscores for backend-friendly data formatting.
Master lodash's random utility to generate random data, from JavaScript's Math.random to wrapping ranges like zero to one hundred with floor logic.
Explore how lodash's unique id function generates incremental ids using a global counter and an optional prefix, and learn to read its source and documentation.
Learn how to flatten an array of arrays in Lodash using the flatten function, including a JavaScript fallback with concat and apply, and wrap the logic in a reusable function.
Explore removing falsey values from arrays in Lodash using compact, compare it with filter, and learn how compact fits into Lodash chains for readable code.
Learn to merge state with new data using Object.assign or lodash's assign, overriding properties without mutating the original state and keeping other fields intact.
Drill into how lodash's clone and cloneDeep help avoid mutating base objects when extending config; understand reference behavior in JavaScript and embrace immutable patterns.
Explore lodash boolean checks like isEqual, isEmpty, and isNil to compare by type, test emptiness, and simplify null handling with readable, deep object comparisons.
Learn how to use Lodash debounce to limit how often a function runs, preventing excessive requests while typing by waiting for the user to stop.
Use lodash throttle to run a function immediately while preventing rapid consecutive calls. Attach the throttled handler to a button so it fires at most once every two seconds.
Learn how to add a custom method to lodash with mixins, create capitalize last, and use it inside a lodash chain to transform a string's last character.
Learn to map and normalize data with lodash, turning two aligned arrays into a single array of objects with location key and config key for easy data handling.
Explore how to implement a framework-agnostic classnames function using Lodash to map object entries to class names, filter false values with compact, and join into a readable string.
Learn to convert a url template with dynamic segments into a real url by applying immutable replacements with a reduce-based approach, using lodash's replace function.
Learn to normalize backend validation errors into user-friendly messages using lodash, map each field's errors, join messages into a single 'field: message' string for display.
Transform a flat list from the back end into a nested structure using parent id relationships and recursion to build root elements and their children.
Explore lodash methods through official docs, source code, and tests, and complete homework implementing a shopping basket with add, increase, decrease, remove by id, and total price calculations.
This course is about writing javascript in functional way with using such a popular library as Lodash. Javascript doesn't have enough functions to cover all our needs so Lodash helps us to write efficient and cross-browser code. The code is written with small, pure functions is easy to support, reuse, improve and test.
But it's not an easy task because the amount of function in lodash is huge and they cover lot's of different use cases. It's important to understand its principles, the most needed functions and how we can combine and reuse them. The course will help you to learn Lodash step by step from the very beginning to professional developer.
We won't simply go through all functions or learn the documentation. There are lots of quizzes from real usecases for you to try using Lodash on you own and compare your results with my solution.
What you will learn in this course:
Array and object transformations
Grouping and sorting
Composing functions
Working with string and arrays
Cloning and assigning properties
Checking the types
Debounce and throttle
Extending lodash with own functions
And much more...
If you are feeling like you want a deep dive into efficient javascript to improve the quality and scalability of your code then this course is for you.