@ahooksjs/use-url-state

A hook that stores the state into url query parameters.

Usage no npm install needed!

<script type="module">
  import ahooksjsUseUrlState from 'https://cdn.skypack.dev/@ahooksjs/use-url-state';
</script>

README

English | įŽ€äŊ“中文

ahooks

React Hooks Library.

NPM version NPM downloads

📚 Documentation

✨ Features

  • Easy to learn and use.
  • Contains a wealth of advanced Hooks that are refined from the app.
  • Contains a wealth of basic Hooks.
  • Written in TypeScript with predictable static types.

đŸ“Ļ Install

npm i ahooks --save

🔨 Usage

import { useRequest } from 'ahooks';

Core Team


ice

umi

Alisports

🤝 Contributing

$ git clone git@github.com:alibaba/hooks.git
$ cd hooks
$ npm run init
$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at Development.

We welcome all contributions, please read our CONTRIBUTING.MD first, let's build a better hooks library together.

đŸ‘Ĩ Discuss

✅ License

MIT