constructor(props) {
        super(props);
        const { data, pageSize } = props;
        this.state = {
            activePage: 1,
            pageItems: getPageItems({
                data,
                activePage: 1,
                pageSize,
            }),
        };
        this.handleChange = this.handleChange.bind(this);
        this.handleSelectChange = this.handleSelectChange.bind(this);
        this.table = React.createRef();
    }
This component implements a client-side pagination experience. Basically,
it wires up the Table and the Pagination components in a composed manner
and keeps the internal state of the active page based on a new prop pageSize.
@category DataView