Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to filter items in react state

{...state,currentMenu: action.menu.filter((menu) =>
state.currentCategoryId == menu.category_id)}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #filter #items #react #state
ADD COMMENT
Topic
Name
8+5 =