2 ms·
You cannot call it Perfect in the same way that you cannot call a meal or a piece of art Perfect. Anything that depends on the needs of the business or the pref
by franciscop 10y ago
You cannot call it Perfect in the same way that you cannot call a meal or a piece of art Perfect. Anything that depends on the needs of the business or the preferences of the user doesn't have a best solution fits all by definition.
For instance, if you wanted to filter a list of 100 items in the front-end this is instantaneous; a filter-as-you-type might make more sense.
However if you are in a back-end search you'd want a button and a full page refresh might be acceptable.
Finally if the search is going to take few seconds for any justificable reason don't do a full page refresh and leave your user hanging in white; a load indicator or a streaming search might be better suited here.