@rdub/next-base

0.4.0 • Public • Published

@rdub/next-base

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

@rdub/next-base NPM version

  • 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.

Used by:

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.02latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.02
0.3.00
0.2.10
0.2.00
0.1.00
0.0.10

Package Sidebar

Install

npm i @rdub/next-base

Weekly Downloads

2

Version

0.4.0

License

MIT

Unpacked Size

7.49 kB

Total Files

12

Last publish

Collaborators

  • rdub