Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 times warning for a not existing prop #253

Closed
rottmann opened this issue Aug 30, 2014 · 1 comment
Closed

5 times warning for a not existing prop #253

rottmann opened this issue Aug 30, 2014 · 1 comment

Comments

@rottmann
Copy link

I got this error 5 times when i load a simple page

Warning: Passing props for params on <Link>s is deprecated, please use the `params` property.

I dont set any prop.

    <Routes location="history">
        <Route name="index" path="/" handler={App}>
            <Route name="test" path="/test/" handler={Test} />
        </Route>
    </Routes>

App:

    render: function() {
        return (
            <div className="app">
                <Link to="test">Link to Test</Link>
                <this.props.activeRouteHandler />
            </div>
        );
    }

Route to "test" write a simple text "Test".

Everything works, but the warning is annoying.

ryanflorence added a commit that referenced this issue Aug 31, 2014
@sanketsahu
Copy link

I am still getting that Warning. Everything works but this Warning just does not go away.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants