Understood. I have stated above about my old code that can be improved, so I might have made some mistakes there in the past, including the search API call.
However, as I stated in another comment in the same article, I won't dive into complex implementations like associated types or generic view state, because it defeats the purpose of my own article. I am pretty sure that there are a lot of developers out there that are still not used yet to associated types (including me for some case). So for the code improvement by experienced developers, I will leave up to their own ideas for that.
But I understand your points there. Thank you for pointing that out.