This package was bootstrapped with Create React App.
This package is support Dropdown component in Semantic-UI-React (https://react.semantic-ui.com/modules/dropdown/)
This package handle load options for Dropdown component from restful API
In the package, you can using HOCs:
The HOC can help Dropdown component load options in componentDidMount and componentWillReceiveProps
The HOC can help Dropdown component load options when user focus Dropdown and when user enter search keyword
This is lazy load with pagination
You can clone the repo https://github.com/tannvdts/semantic-react-with-options
And run demo with : npm start
You can see code demo in:
https://github.com/tannvdts/semantic-react-with-options/blob/master/src/demo/LocationDropdown.js
and
https://github.com/tannvdts/semantic-react-with-options/blob/master/src/demo/App.js