This is a simple Multi-Select component.
Navigate to your project directory, then run the following command to install all dependencies:
gh repo clone sulhadin/multi-select
cd multi-select
yarn install
yarn run build:css
yarn run dev
The project is by no means perfect, and there are a few areas targeted for future improvements:
- NPM Package Conversion: The existing project could be restructured and packed into an easily distributable NPM package.
- Improved Folder Structure: There's scope for improving readability by separating reusable components into a
components
folder and utility functions into autils
folder. - Unit Testing Enhancement: Business logic can be moved to separate files. This will make unit testing easier and more maintainable.
- Avoiding Over Engineering: The above points are not taken into consideration at the moment to keep the project simple and easily understandable while reflecting the basic concept behind the project.