Filter Various Collections Using Stimulus Targets

InstructorDamon Bauer

Share this video with your friends

Send Tweet

In this lesson, we'll add various inputs that allow a user to filter a collection of data using different sets of data to search through.

We'll take advantage of Stimulus targets to make it simple to find which collection the user wants to search for. Stimulus also provides a nice way to get all targets of a certain name as an array. We'll take a look at how that makes life easy when need to iterate over a collection of DOM nodes.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.