Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update react-router monorepo to v6.17.0 (minor) #375

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-router 6.16.0 -> 6.17.0 age adoption passing confidence
react-router-dom 6.16.0 -> 6.17.0 age adoption passing confidence

Release Notes

remix-run/react-router (react-router)

v6.17.0

Compare Source

Patch Changes
  • Fix RouterProvider future prop type to be a Partial<FutureConfig> so that not all flags must be specified (#​10900)
  • Updated dependencies:
remix-run/react-router (react-router-dom)

v6.17.0

Compare Source

Minor Changes
  • Add experimental support for the View Transitions API via document.startViewTransition to enable CSS animated transitions on SPA navigations in your application. (#​10916)

    The simplest approach to enabling a View Transition in your React Router app is via the new <Link unstable_viewTransition> prop. This will cause the navigation DOM update to be wrapped in document.startViewTransition which will enable transitions for the DOM update. Without any additional CSS styles, you'll get a basic cross-fade animation for your page.

    If you need to apply more fine-grained styles for your animations, you can leverage the unstable_useViewTransitionState hook which will tell you when a transition is in progress and you can use that to apply classes or styles:

    function ImageLink(to, src, alt) {
      let isTransitioning = unstable_useViewTransitionState(to);
      return (
        <Link to={to} unstable_viewTransition>
          <img
            src={src}
            alt={alt}
            style={{
              viewTransitionName: isTransitioning ? "image-expand" : "",
            }}
          />
        </Link>
      );
    }

    You can also use the <NavLink unstable_viewTransition> shorthand which will manage the hook usage for you and automatically add a transitioning class to the <a> during the transition:

    a.transitioning img {
      view-transition-name: "image-expand";
    }
    <NavLink to={to} unstable_viewTransition>
      <img src={src} alt={alt} />
    </NavLink>

    For an example usage of View Transitions with React Router, check out our fork of the Astro Records demo.

    For more information on using the View Transitions API, please refer to the Smooth and simple transitions with the View Transitions API guide from the Google Chrome team.

    Please note, that because the ViewTransition API is a DOM API, we now export a specific RouterProvider from react-router-dom with this functionality. If you are importing RouterProvider from react-router, then it will not support view transitions. (#​10928

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 16, 2023
@spaenleh spaenleh merged commit 8aacb0f into main Oct 25, 2023
2 checks passed
@renovate renovate bot deleted the renovate/react-router-monorepo branch October 25, 2023 09:13
spaenleh pushed a commit that referenced this pull request Dec 1, 2023
feat: download items triggers

fix(deps): update dependency @graasp/sdk to v1.8.0 (#367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update devdependencies (non-major)

chore(deps): update eslint packages to v6.7.5

fix(deps): update dependency @graasp/ui to v3.5.4

fix(deps): update mui (non-major)

fix: remove download items action triggers

fix(deps): update dependency @sentry/react to v7.74.0 (#370)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update dependency react-i18next to v13.3.0 (#369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update dependency @graasp/query-client to v1.11.0 (#364)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(main): release 1.2.2 (#358)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

chore(deps): update dependency @cypress/code-coverage to v3.12.4

chore(deps): update devdependencies (non-major) (#381)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update dependency @sentry/react to v7.74.1

chore(deps): update devdependencies (non-major) (#384)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update react-router monorepo to v6.17.0 (#375)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update devdependencies (non-major) (#372)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix: node config memory limit for build:test

fix: prop name from handleload to onclick

chore(deps): update dependency @types/lodash.truncate to v4.4.8

fix(deps): update dependency react-i18next to v13.3.1

fix(deps): update mui (non-major)

chore(deps): update eslint packages
spaenleh pushed a commit that referenced this pull request Dec 1, 2023
feat: download items triggers

fix(deps): update dependency @graasp/sdk to v1.8.0 (#367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update devdependencies (non-major)

chore(deps): update eslint packages to v6.7.5

fix(deps): update dependency @graasp/ui to v3.5.4

fix(deps): update mui (non-major)

fix: remove download items action triggers

fix(deps): update dependency @sentry/react to v7.74.0 (#370)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update dependency react-i18next to v13.3.0 (#369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update dependency @graasp/query-client to v1.11.0 (#364)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(main): release 1.2.2 (#358)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

chore(deps): update dependency @cypress/code-coverage to v3.12.4

chore(deps): update devdependencies (non-major) (#381)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update dependency @sentry/react to v7.74.1

chore(deps): update devdependencies (non-major) (#384)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix(deps): update react-router monorepo to v6.17.0 (#375)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update devdependencies (non-major) (#372)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

fix: node config memory limit for build:test

fix: prop name from handleload to onclick

chore(deps): update dependency @types/lodash.truncate to v4.4.8

fix(deps): update dependency react-i18next to v13.3.1

fix(deps): update mui (non-major)

chore(deps): update eslint packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file v2.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant