Skip to content
This repository was archived by the owner on Jun 15, 2020. It is now read-only.
This repository was archived by the owner on Jun 15, 2020. It is now read-only.

document how to link to page #36

@rubycut

Description

@rubycut

Hi, I would like to use your library, but I can't find any way to create link to my page that supports react-url-query.

In your examples, you explain how to manipulate query string once you are already on desired page, but react apps usually consist of several pages within react-router.

Currently, I am using something like this to switch to another page:

import { withRouter } from 'react-router'
...
this.props.history.push("/cust/" + this.props.customer_id)
...
const ComponentWithRouter = withRouter(Component)
export default connect(mapStateToProps)(ComponentWithRouter)

/cust/ page would support react-url-query, and I would like to jump to this page.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions