You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to use Link component in my App class, i am getting these error messages.
I tried but couldn't find a solution.
Warning: Required context `makePath` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `makeHref` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `transitionTo` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `replaceWith` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `goBack` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `getCurrentPath` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `getCurrentRoutes` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `getCurrentParams` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `getCurrentQuery` was not specified in `Link`. Check the render method of `App`.
Warning: Required context `isActive` was not specified in `Link`. Check the render method of `App`.
Uncaught TypeError: undefined is not a function
// "makeHref" is in "Navigation" object
// context is undefined
makeHref: function (to, params, query) {
return this.context.makeHref(to, params, query); //error line
},
The text was updated successfully, but these errors were encountered:
First of all, sorry for my poor english.
When i try to use Link component in my App class, i am getting these error messages.
I tried but couldn't find a solution.
// "makeHref" is in "Navigation" object
// context is undefined
The text was updated successfully, but these errors were encountered: