Skip to main content

Changelog

Added

  • Site collection and tenant scope option for useApp, useApps hooks.

Changed

  • @pnp/sp peer dependency version bumped to ^3.14.0.

Changelog

Added

  • useRecycleBinItem and useRecycleBinItems hooks.
  • createProviderElement helper function for simplifying SPFx initialization.

Fixed

  • useSearch hook incorrectly overrides RowLimit when getPageDispatch called.

Changelog

Added

  • useListItems paged request option.
  • useView and useViews hooks.
  • useListAsStream hook.
  • FetchWithAbort behavior for cancelling fetch requests automatically.

Fixed

  • useSearch double query issue.

Changelog

Fixed

  • useSearch throwing error when getPageDispatch called more than once.

What's In

  • 42 custom React hook for accessing SharePoint contents.
  • PnPjs v3 upgrade. v2 support dropped before major release.
  • Configuration system based on React Context API.
  • Helper hook function for accessing options.