UNPKG

clarity-react-infinite-list

Version:

A browser efficient infinite list for React apps that allows loading of items with differing heights and sizes.

9 lines (8 loc) 281 B
import * as ActionTypes from "../../actions/types"; export default function isFetchingUsers(state = false, action) { if (action.type === ActionTypes.SET_FETCHING_USERS_STATUS) { return action.payload.isFetchingUsers; } else { return state; } };