Open ademahendra opened 6 years ago
I'm getting the same error w React 16. Worked fine w 15. Starting to think it may not be compatible w 16??
I'm not sure if this is active or not, but I had the same issue after using react-router 4.4.0-beta+ which removed the context API. I created the pr: https://github.com/alpertuna/react-metismenu-router-link/pull/13
Get error Cannot read property 'history' of undefined on RouterLink
"react": "^16.3.2", "react-dom": "^16.3.2", "react-metismenu": "^1.4.0", "react-metismenu-router-link": "^2.1.0", "react-router-dom": "^4.2.2",