Ankit Singhaniya
It depends on scope and how you structure your application.
For example if you want to use auto complete on multiple pages so its better to create a dedicated component for that and re-use it wherever you want. which will cost you a little bit of effort but on the other hand you have ability to reuse it.