score:1

Accepted answer
const CollaboratorListContainer = ({
  match,
  location,
  history,
  searchTerm,
  handleFilterChange,
  visibleFilters,
  setVisibleFilters,
  deleteCollaborators,
  companyId,
  title,
}) => {
  console.log(match, location, history);
  return(
    <Grid fluid>
      <MainContentHeader
         title={'Collaborateurs'}
      />
      <div className="main-content">
        <Card>
          <ListFilterForm
            onFilterChange={handleFilterChange}
            values={{ searchTerm }}
            visible={visibleFilters} text  />
        <CollaboratorList
            deleteCollaborators={deleteCollaborators}
            onRowSelect={(inSelection) => setVisibleFilters(!inSelection)}
            companyId={companyId}
            searchTerm={searchTerm} />
        </Card>
      </div>
    </Grid>
 )
}

score:1

import { compose, lifecycle } from 'recompose';

const log = lifecycle({
  componentDidMount() {
    console.log('all props', this.props);
  },
});

export default compose(
  injectIntl,
  withRouter,
  log,
)(Container);

Related Query

More Query from same tag