rsnext/test/acceptance
Joe Haddad ff33e07afe
Replace broken prop-types-exact package (#15953)
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
2020-08-18 16:36:40 +00:00
..
.gitignore Experimental: React Refresh Support (#12008) 2020-04-19 13:58:31 -04:00
helpers.js Enhance module not found error (#15860) 2020-08-05 19:11:35 +00:00
ReactRefresh.test.js Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
ReactRefreshLogBox.test.js Replace broken prop-types-exact package (#15953) 2020-08-18 16:36:40 +00:00
ReactRefreshRegression.test.js Run Fast Refresh Loader in Babel Loader (#15851) 2020-08-04 21:24:56 +00:00
ReactRefreshRequire.test.js Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00