Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Collection of React hooks for AWS UI with support for React Router.

License

Notifications You must be signed in to change notification settings

CharlesStover/use-awsui-router

Repository files navigation

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.

About

Collection of React hooks for AWS UI with support for React Router.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages