title | dateModified | dateCreated | tags | parent | week | topics | content | |||
---|---|---|---|---|---|---|---|---|---|---|
Week-08 |
2024-09-10 |
2024-08-20 |
|
[[Intro to React V3]] |
8 |
|
lesson plan |
- Sorting
- Searching
By the end of this lesson, we will:
- Implement sort functionality to organize lists that are presented to the user
- Implement a filtering feature to return desired items to a user
- array.sort
- sorting on single property:
price
ORpopularity
with<option>
- sort on 2 properties:
price
,name
- array.filter
- filter on single property:
availability
with<checkbox>
- filter on multiple properties
availability
with<checkbox>
Often times, a remote system will have many more entries than can be displayed comfortably on a single page. Sending everything on a request can take take a while or may even be impossible (think Google search results counts). Next week we will deal with sorting or searching of remote data with fetch requests.
After completing this week's assignment, the app should be able to:
- capability 1
- capability 2
- capability n
- step 1
- step 2
- step n
- step 1
- step 2
- step n
- step 1
- step 2
- step n