Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: remix-run/react-router
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ea8eba843bf899daf8a51c2617d05c179b38369d
Choose a base ref
...
head repository: remix-run/react-router
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0c9a10d9807b879912f2dff2fbebffe0aa7048ed
Choose a head ref

Commits on Nov 17, 2018

  1. Copy the full SHA
    1d61194 View commit details

Commits on Nov 26, 2018

  1. Copy the full SHA
    bafbec4 View commit details

Commits on Dec 2, 2018

  1. Copy the full SHA
    c69ca84 View commit details

Commits on Mar 19, 2019

  1. Example references deprecated API (#6646)

    The example showing how to use a custom history object is referencing an outdated import path. Change it to a supported one.
    
    Also see https://github.com/ReactTraining/history/blob/465288b91859244d401103c079c058c0a2be5cb0/createBrowserHistory.js#L2
    bripkens authored and timdorr committed Mar 19, 2019
    Copy the full SHA
    2359f87 View commit details

Commits on Mar 21, 2019

  1. Copy the full SHA
    b2ae361 View commit details
  2. should be float left

    bradwestfall committed Mar 21, 2019
    Copy the full SHA
    d302953 View commit details
  3. Copy the full SHA
    2c0e2c9 View commit details

Commits on Mar 22, 2019

  1. merge pr

    bradwestfall committed Mar 22, 2019
    Copy the full SHA
    536e184 View commit details
  2. tour ad

    bradwestfall committed Mar 22, 2019
    Copy the full SHA
    65ca0ae View commit details

Commits on Mar 24, 2019

  1. Copy the full SHA
    9016456 View commit details

Commits on Mar 26, 2019

  1. Update Jest and react-router-native dev deps (#6668)

    * Update Jest and react-router-native dev deps
    
    * latest react/react-test-renderer
    pshrmn authored and timdorr committed Mar 26, 2019
    Copy the full SHA
    8365d4b View commit details
  2. Copy the full SHA
    e2961fe View commit details
  3. Update README

    mjackson committed Mar 26, 2019
    Copy the full SHA
    49a999f View commit details

Commits on Mar 29, 2019

  1. Copy the full SHA
    13b044a View commit details
  2. Copy the full SHA
    6a99c93 View commit details

Commits on Apr 1, 2019

  1. Copy the full SHA
    f9849c8 View commit details

Commits on Apr 2, 2019

  1. Fixed maximum update depth exceeded caused by Redirect. (#6674)

    * Redirect: Failing test for rendering in functional component
    
    * Properly check if location matches in <Redirect/>
    
    Fixes #6673
    
    * Redirect: Handle all eventualities of to strings.
    
    * Redirect: Add update depth test with 'to' as location
    
    * Redirect: Simplify and rename tests.
    
    * Redirect: work around locationsAreEquals quirk.
    StringEpsilon authored and timdorr committed Apr 2, 2019
    Copy the full SHA
    017f692 View commit details

Commits on Apr 3, 2019

  1. withRouter: Directly use RouterContext instead of Route. (#6685)

    This reduces the nesting introduced by withRouter() quite a bit and makes for an easier warning in case it's used outside <Router/>
    StringEpsilon authored and timdorr committed Apr 3, 2019
    Copy the full SHA
    10d78bb View commit details

Commits on Apr 6, 2019

  1. Copy the full SHA
    2ce1d32 View commit details

Commits on Apr 7, 2019

  1. Copy the full SHA
    992af48 View commit details

Commits on Apr 9, 2019

  1. Fix website internal links not prepended with public path (#6678)

    * Fix website internal links not prepended with basename
    
    * Add loader-utils@1.1.0 to package.json
    kenrick95 authored and timdorr committed Apr 9, 2019
    Copy the full SHA
    f7c8e56 View commit details
  2. 1
    Copy the full SHA
    3ccbd19 View commit details

Commits on Apr 14, 2019

  1. Update matchPath docs (#6703)

    * Update matchPath.md
    
    * Update matchPath.md
    
    * Update matchPath.md
    h-des authored and timdorr committed Apr 14, 2019
    Copy the full SHA
    29155fc View commit details

Commits on Apr 16, 2019

  1. use huskyrc file (#6706)

    * Update husky.
    
    * Use huskyrc file.
    dnalborczyk authored and timdorr committed Apr 16, 2019
    Copy the full SHA
    67df646 View commit details

Commits on Apr 20, 2019

  1. matchPath: Fixed exception thrown if path is undefined (#6715)

    * matchPath: Fixed exception thrown if `path` is undefined
    
    * Match the line below it
    StringEpsilon authored and timdorr committed Apr 20, 2019
    Copy the full SHA
    7bd1407 View commit details
  2. prevent reload of page if an error occurs in onClick event handler (#…

    …6711)
    
    * prevent reload of page if an error occurs in onClick event handler in <Link />
    1. catch exception of onClick
    2. prevent default event handler
    3. re-throw exception
    
    * add tests
    
    * remove unused Component import in <Link /> test
    MeiKatz authored and timdorr committed Apr 20, 2019
    Copy the full SHA
    82ce94c View commit details

Commits on May 11, 2019

  1. Fix build on windows. (#6740)

    StringEpsilon authored and timdorr committed May 11, 2019
    Copy the full SHA
    48a97bf View commit details
  2. Updated some devDependencies to fix audit warnings (#6741)

    * Updated some devDependencies to fix audit warnings
    
    * Revert rollup-plugin-size-snapshot update.
    StringEpsilon authored and timdorr committed May 11, 2019
    Copy the full SHA
    aeccaeb View commit details

Commits on May 15, 2019

  1. fix(react-router): Allow string and object refs in withRouter (#6680)

    * fix(react-router): Don't warn about ref objects
    
    * fix(react-router): Don't warn about string refs
    eps1lon authored and timdorr committed May 15, 2019
    Copy the full SHA
    56c829b View commit details
  2. Removing "update blocking" content (#6652)

    * update react and start using hooks in some places
    
    * remove content for blocked updates
    bradwestfall authored and timdorr committed May 15, 2019
    Copy the full SHA
    97f0eee View commit details

Commits on May 16, 2019

  1. Don't override path in NavLink component. Fixes #6613 (#6623)

    * Don't override path in NavLink component. Fixes #6613
    
    * Add tests for withRouter() inside NavLink
    
    * NavLink: Use RouterContext directly.
    
    Same reasons as for withRouter: Less nesting, clearer error message.
    
    * NavLink: Remove obsolete import. Updated size snapshot
    StringEpsilon authored and timdorr committed May 16, 2019
    Copy the full SHA
    a38ef04 View commit details

Commits on May 29, 2019

  1. Merge branch 'website'

    timdorr committed May 29, 2019
    Copy the full SHA
    bd436ce View commit details
  2. Copy the full SHA
    caa9950 View commit details

Commits on May 31, 2019

  1. Copy the full SHA
    0f5d701 View commit details

Commits on Jun 2, 2019

  1. Copy the full SHA
    8ed894f View commit details

Commits on Jun 4, 2019

  1. Update package locks

    mjackson committed Jun 4, 2019
    Copy the full SHA
    b0bb959 View commit details
  2. v5.0.1

    mjackson committed Jun 4, 2019
    Copy the full SHA
    0c9a10d View commit details
Showing with 31,516 additions and 22,678 deletions.
  1. +5 −0 .huskyrc.js
  2. +0 −552 CHANGES.md
  3. +3 −11 CONTRIBUTING.md
  4. +0 −5 FAQ.md
  5. +6 −0 README.md
  6. +1 −1 lerna.json
  7. +557 −488 package-lock.json
  8. +3 −8 package.json
  9. +2,414 −4,509 packages/react-router-config/package-lock.json
  10. +14 −15 packages/react-router-config/package.json
  11. +5 −3 packages/react-router-config/rollup.config.js
  12. +9 −9 packages/react-router-dom/.size-snapshot.json
  13. +14 −0 packages/react-router-dom/docs/guides/scroll-restoration.md
  14. +6 −1 packages/react-router-dom/modules/Link.js
  15. +17 −13 packages/react-router-dom/modules/NavLink.js
  16. +132 −2 packages/react-router-dom/modules/__tests__/Link-test.js
  17. +67 −1 packages/react-router-dom/modules/__tests__/NavLink-test.js
  18. +2,323 −4,368 packages/react-router-dom/package-lock.json
  19. +14 −15 packages/react-router-dom/package.json
  20. +5 −3 packages/react-router-dom/rollup.config.js
  21. +0 −3 packages/react-router-native/.babelrc
  22. +3 −0 packages/react-router-native/babel.config.js
  23. +4,310 −2,836 packages/react-router-native/package-lock.json
  24. +9 −9 packages/react-router-native/package.json
  25. +12 −12 packages/react-router/.size-snapshot.json
  26. +4 −0 packages/react-router/docs/api/Redirect.md
  27. +2 −2 packages/react-router/docs/api/Router.md
  28. +33 −2 packages/react-router/docs/api/matchPath.md
  29. +1 −21 packages/react-router/docs/api/withRouter.md
  30. +0 −200 packages/react-router/docs/guides/blocked-updates.md
  31. +7 −1 packages/react-router/modules/Redirect.js
  32. +5 −5 packages/react-router/modules/RouterContext.js
  33. +1 −1 packages/react-router/modules/StaticRouter.js
  34. +60 −1 packages/react-router/modules/__tests__/Redirect-test.js
  35. +8 −0 packages/react-router/modules/__tests__/matchPath-test.js
  36. +2 −0 packages/react-router/modules/matchPath.js
  37. +24 −13 packages/react-router/modules/withRouter.js
  38. +19,167 −7,641 packages/react-router/package-lock.json
  39. +13 −14 packages/react-router/package.json
  40. +5 −3 packages/react-router/rollup.config.js
  41. +37 −0 website/modules/base.css
  42. +12 −26 website/modules/components/Bundle.js
  43. +45 −53 website/modules/components/Environment.js
  44. +20 −1 website/modules/components/EnvironmentHeader.js
  45. +43 −44 website/modules/components/EnvironmentLarge.js
  46. +13 −12 website/modules/components/EnvironmentSmall.js
  47. +45 −32 website/modules/components/Example.js
  48. +0 −177 website/modules/components/FakeBrowser.js
  49. +19 −0 website/modules/components/HooksTourAd.js
  50. +0 −66 website/modules/components/NativeExample.js
  51. +49 −0 website/modules/components/SandboxExample.js
  52. +0 −64 website/modules/components/WebExample.js
  53. +1 −2 website/modules/docs/Core.js
  54. +21 −22 website/modules/docs/Native.js
  55. +30 −30 website/modules/docs/Web.js
  56. +1 −11 website/modules/examples/{Animation.js → Animation/index.js}
  57. +9 −0 website/modules/examples/Animation/styles.css
  58. +12 −4 website/modules/examples/QueryParams.js
  59. +1,849 −1,343 website/package-lock.json
  60. +24 −5 website/package.json
  61. +10 −6 website/webpack.config.js
  62. +15 −12 website/webpack/markdown-loader.js
5 changes: 5 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
hooks: {
"pre-commit": "pretty-quick --staged"
}
};
Loading