before using useselector what did we used in the past code example
Example 1: useSelector
const result: any = useSelector(selector: Function, equalityFn?: Function)
Copy
Example 2: useSelector
const result: any = useSelector(selector: Function, equalityFn?: Function)
Copied