Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ts useSelector types react

import { RootState } from 'app/redux/store';
const isLoggedIn = useSelector(state: RootState => state.user.loggedIn);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ts #useSelector #types #react
ADD COMMENT
Topic
Name
4+5 =