Skip to content

v1.0.1

Compare
Choose a tag to compare
@tatethurston tatethurston released this 18 Nov 03:43
· 72 commits to main since this release
d3e8af7

1.0.1

  • Update NextRouter type to keep query and pathname bound in a union. This allows you to use router from useRouter as an argument to router.push or router.replace:

    const router = useRouter();
    // reload the current page, preserving search parameters
    router.push(router, undefined, { locale: "fr" });

Full Changelog: v1.0.0...v1.0.1