Would it be safe to extract specific values from the redux state using the useReducer() hook like below:
const {item1, item2, item3} = useSelector(state => state);
Or would that cause issues(with regards to rerenders and state), or be considered bad practice?