I\'m new to Next js and im trying to implement a live search input field, I\'m not sure if I have done things right if im violating some principles of next by not using getServe