redux example in react hooks Example: useSelector const result: any = useSelector(selector: Function, equalityFn?: Function) Copied