Application data

The application data that we will be rendering is a list of Black Mirror episodes. Each episode is a map with some information about the episode. Here's a truncated version of the list to give you an idea of what it looks like as an Immutable.js collection:

const episodes = List.of(
Map.of(
'title', 'The National Anthem',
'date', 'December 4 2011',
'director', 'Otto Bathurst',
'rating', 8.0
),
Map.of(
'title', 'Fifteen Million Merits',
'date', 'December 11 2011',
'director', 'Euros Lyn',
'rating', 8.3
),
Map.of(
'title', 'The Entire History of You',
'date', 'December 18 2011',
'director', 'Brian Welsh',
'rating', 8.7
),
Map.of(
'title', 'Be Right Back',
'date', 'February 1 2013',
'director', 'Owen Harris',
'rating', 8.2
),
...
);

By default, your application will display everything in this list. Your job is to implement filter controls that filter this list before it is rendered, based on how the user interacts with the filter controls.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.70.255