0.5.0 • Published 7 months ago

@rdub/next-base v0.5.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
7 months ago

@rdub/next-base

Misc utils for Next.js <Link>, <Head>, <Nav>, router, and configs

  • a: link component that uses Next.js <Link> for same-origin URLs and <a target="_blank"> for external URLs.
  • basePath: getBasePath helper for Next.js.
  • config, basePath: next/config accessors.
  • head: next/head wrapper, populates og tags.
  • route-is-changing: useRouteIsChanging hook, useful for invalidating queries / displaying loading spinners during router.push transitions.
  • use-root-url: useRootUrl hook, for constructing absolute URLs in Next.js apps.

Used by:

0.5.0

7 months ago

0.4.0

11 months ago

0.3.0

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago