Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

useSelector

export type RootState = ReturnType<typeof store.getState>;
export const selectData = (state: RootState) => state.QnASlicer.data;
Source by react-redux.js.org #
 
PREVIOUS NEXT
Tagged: #useSelector
ADD COMMENT
Topic
Name
8+1 =