history push with array paras code example Example: how to get state value from history react history.push('/path', yourData);