We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc4a5e commit 81b7406Copy full SHA for 81b7406
modules/Link.js
@@ -21,12 +21,12 @@ function isModifiedEvent(event) {
21
*
22
* You could use the following component to link to that route:
23
24
- * <Link to="showPost" params={{ postID: "123" }} />
+ * <Link to={`/posts/${post.id}`} />
25
26
- * In addition to params, links may pass along query string parameters
+ * Links may pass along query string parameters
27
* using the `query` prop.
28
29
- * <Link to="showPost" params={{ postID: "123" }} query={{ show:true }}/>
+ * <Link to="/posts/123" query={{ show:true }}/>
30
*/
31
export var Link = React.createClass({
32
0 commit comments