• J
    Replace broken `prop-types-exact` package (#15953) · ff33e07a
    Joe Haddad 提交于
    This PR replaces `prop-types-exact` (only used in this location) with manual property checking.
    
    Right now, malformed properties sent to `<Link>` are silently handled and only emit a warning in the console.
    This leads to confusing/unexpected errors because we try to read a value that is undefined.
    
    To fix this, we'll now throw a proper error when `<Link>` is misused. **This still isn't optimal, however, because we don't have a component stack trace we can give the user**.
    We're not going to be able to give the user actionable instructions until React 16.14 at a minimum.
    
    ---
    
    Fixes #13951
    Fixes #16107
    Closes #13962
    ff33e07a
This project manages its dependencies using Yarn. 进一步了解
yarn.lock 640.6 KB