next-toolkit

1.0.0-alpha.0 • Public • Published

Toolkit for Next.js

HOCs and Utilities for zeit/next.js caching and lazy loading

Available HOCS

  • Edge Side Include
  • Edge with Loader (on the client side)
  • Edge
  • Page with Loader (on the client side)
  • ApiConnect utility

How to use

Install:

npm install nextjs-toolkit --save
  • Create components outside /pages
  • Export wrapped components depending on your desires
  • import wrapped components in /pages and export them as default

see examples.

Contacts

nextjs community chat on spectrum

Package Sidebar

Install

npm i next-toolkit

Weekly Downloads

2

Version

1.0.0-alpha.0

License

MIT

Unpacked Size

18.1 kB

Total Files

12

Last publish

Collaborators

  • opensourcesense