use-awsui-router
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

useAwsuiRouter

version minzipped size downloads

use-awsui-router is a collection of React hooks for the AWS UI component library. In addition to managing the AWS UI component local state, they also bind to React Router.

For React Router v6, use use-awsui-router@^2.0.0. For React Router v5, use use-awsui-router@^1.0.0.

It is recommended that you use this library in tandem with use-awsui.

Install

  • npm install use-awsui-router or
  • yarn add use-awsui-router

Supported components

The use-awsui-router library offers React hooks for the following AWS UI components. These hooks return several of the components' value props and event handlers in order to both instantiate and manage the components' local, controlled state, including integration with React Router.

Contributing

To install this repository to begin local development, use the following commands in order:

  • yarn set version latest to keep Yarn up-to-date.
  • yarn to install the existing dependencies.
  • yarn up * && yarn up @*/* to upgrade to the latest dependencies.
  • yarn dlx @yarnpkg/pnpify --sdk vscode to integrate with VS Code.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    31
    • latest

Version History

Package Sidebar

Install

npm i use-awsui-router

Weekly Downloads

31

Version

2.0.1

License

MIT

Unpacked Size

37.8 kB

Total Files

18

Last publish

Collaborators

  • charlesstover