Skip to content

Commit 21e4a1e

Browse files
insintimdorr
authored andcommittedJan 27, 2017
Remove references to Link hash/query/state props (remix-run#4377)
1 parent 5e69b23 commit 21e4a1e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎modules/Link.js

-8
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ function resolveToLocation(to, router) {
3838
* You could use the following component to link to that route:
3939
*
4040
* <Link to={`/posts/${post.id}`} />
41-
*
42-
* Links may pass along location state and/or query string parameters
43-
* in the state/query props, respectively.
44-
*
45-
* <Link ... query={{ show: true }} state={{ the: 'state' }} />
4641
*/
4742
const Link = React.createClass({
4843

@@ -54,9 +49,6 @@ const Link = React.createClass({
5449

5550
propTypes: {
5651
to: oneOfType([ string, object, func ]),
57-
query: object,
58-
hash: string,
59-
state: object,
6052
activeStyle: object,
6153
activeClassName: string,
6254
onlyActiveOnIndex: bool.isRequired,

0 commit comments

Comments
 (0)
Please sign in to comment.