helmarluiz / react-hooks-select-async

Using react-select async with hooks and applying pagination

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example implementation of React-Select Async, using React Hooks and applying pagination with react-select-async-paginate. Implementation described on Implementing react-select Async with React Hooks and applying Pagination.

It's also hosted at https://codesandbox.io/s/react-select-async-paginate-yblq9?file=/src/SelectAsyncPaginate.js.

Packages

  • react-select - flexible and extensible Select Input control for ReactJS with multiselect, autocomplete and ajax support.

  • react-select-async-paginate - wrapper above react-select that supports pagination on menu scroll.

Installation

To use it, just clone this repo and install the npm dependencies:

$ git clone https://github.com/helmarjunior/react-hooks-select-async
$ cd react-hooks-select-async
$ npm install
$ npm start

About

Using react-select async with hooks and applying pagination

License:GNU General Public License v3.0


Languages

Language:JavaScript 56.2%Language:HTML 28.4%Language:CSS 15.4%