Accepted answer

When you want to show all the rollers, you can just call the function without any parameters. And then at the beginning of filterRollers function you can check if the parameter is undefined. If it is, just return all the data. If not, filter:

filterRollers(status) {
  let list;
  if(typeof status !== 'undefined'){
    list = this.state.rollingState.filter(roll => {
      return roll.isrolling === status
  } else{
    list = data.slice();

Call the function like this, when you want to show all the rollers:

 <button onClick={this.filterRollers()}> All </button>

Related Query

More Query from same tag