Using third-party React components
There are lots of nice React components available for different purposes. Our first task is to find a suitable component for your needs. One good site for searching components is JS.coach
(https://js.coach/). You just have to type in a keyword, search, and select React from the list of libraries.
In the following screenshot, you can see a search of table components for React:
Another good source for React components is awesome-react-components
(https://github.com/brillout/awesome-react-components).
Components often have good documentation that helps you to utilize them in your own React app. Let's see how we can install a third-party component to our app and start to use it, as follows:
- Navigate to the
JS.coach
site, typedate
in the search input field, and filter by React. From the search results, you can find a list component calledreact-date-picker
, as illustrated in the...